/kernel/linux/linux-5.10/net/netfilter/ |
H A D | nf_nat_helper.c | 30 unsigned int rep_len) in mangle_contents() 38 memmove(data + match_offset + rep_len, in mangle_contents() 44 memcpy(data + match_offset, rep_buffer, rep_len); in mangle_contents() 47 if (rep_len > match_len) { in mangle_contents() 49 "%u from %u bytes\n", rep_len - match_len, skb->len); in mangle_contents() 50 skb_put(skb, rep_len - match_len); in mangle_contents() 53 "%u from %u bytes\n", match_len - rep_len, skb->len); in mangle_contents() 54 __skb_trim(skb, skb->len + rep_len - match_len); in mangle_contents() 93 unsigned int rep_len, bool adjust) in __nf_nat_mangle_tcp_packet() 101 if (rep_len > match_le in __nf_nat_mangle_tcp_packet() 25 mangle_contents(struct sk_buff *skb, unsigned int dataoff, unsigned int match_offset, unsigned int match_len, const char *rep_buffer, unsigned int rep_len) mangle_contents() argument 86 __nf_nat_mangle_tcp_packet(struct sk_buff *skb, struct nf_conn *ct, enum ip_conntrack_info ctinfo, unsigned int protoff, unsigned int match_offset, unsigned int match_len, const char *rep_buffer, unsigned int rep_len, bool adjust) __nf_nat_mangle_tcp_packet() argument 136 nf_nat_mangle_udp_packet(struct sk_buff *skb, struct nf_conn *ct, enum ip_conntrack_info ctinfo, unsigned int protoff, unsigned int match_offset, unsigned int match_len, const char *rep_buffer, unsigned int rep_len) nf_nat_mangle_udp_packet() argument [all...] |
/kernel/linux/linux-6.6/net/netfilter/ |
H A D | nf_nat_helper.c | 30 unsigned int rep_len) in mangle_contents() 38 memmove(data + match_offset + rep_len, in mangle_contents() 44 memcpy(data + match_offset, rep_buffer, rep_len); in mangle_contents() 47 if (rep_len > match_len) { in mangle_contents() 49 "%u from %u bytes\n", rep_len - match_len, skb->len); in mangle_contents() 50 skb_put(skb, rep_len - match_len); in mangle_contents() 53 "%u from %u bytes\n", match_len - rep_len, skb->len); in mangle_contents() 54 __skb_trim(skb, skb->len + rep_len - match_len); in mangle_contents() 93 unsigned int rep_len, bool adjust) in __nf_nat_mangle_tcp_packet() 101 if (rep_len > match_le in __nf_nat_mangle_tcp_packet() 25 mangle_contents(struct sk_buff *skb, unsigned int dataoff, unsigned int match_offset, unsigned int match_len, const char *rep_buffer, unsigned int rep_len) mangle_contents() argument 86 __nf_nat_mangle_tcp_packet(struct sk_buff *skb, struct nf_conn *ct, enum ip_conntrack_info ctinfo, unsigned int protoff, unsigned int match_offset, unsigned int match_len, const char *rep_buffer, unsigned int rep_len, bool adjust) __nf_nat_mangle_tcp_packet() argument 136 nf_nat_mangle_udp_packet(struct sk_buff *skb, struct nf_conn *ct, enum ip_conntrack_info ctinfo, unsigned int protoff, unsigned int match_offset, unsigned int match_len, const char *rep_buffer, unsigned int rep_len) nf_nat_mangle_udp_packet() argument [all...] |
/kernel/linux/linux-6.6/tools/accounting/ |
H A D | procacct.c | 179 int rep_len; in get_family_id() local 188 rep_len = recv(sd, &ans, sizeof(ans), 0); in get_family_id() 190 (rep_len < 0) || !NLMSG_OK((&ans.n), rep_len)) in get_family_id() 264 int c, rc, rep_len; in main() local 351 rep_len = recv(nl_sd, &msg, sizeof(msg), 0); in main() 352 PRINTF("received %d bytes\n", rep_len); in main() 354 if (rep_len < 0) { in main() 360 !NLMSG_OK((&msg.n), rep_len)) { in main() 368 PRINTF("nlmsghdr size=%zu, nlmsg_len=%d, rep_len in main() [all...] |
H A D | getdelays.c | 172 int rep_len; in get_family_id() local 181 rep_len = recv(sd, &ans, sizeof(ans), 0); in get_family_id() 183 (rep_len < 0) || !NLMSG_OK((&ans.n), rep_len)) in get_family_id() 281 int c, rc, rep_len, aggr_len, len2; in main() local 468 rep_len = recv(nl_sd, &msg, sizeof(msg), 0); in main() 469 PRINTF("received %d bytes\n", rep_len); in main() 471 if (rep_len < 0) { in main() 477 !NLMSG_OK((&msg.n), rep_len)) { in main() 484 PRINTF("nlmsghdr size=%zu, nlmsg_len=%d, rep_len in main() [all...] |
/kernel/linux/linux-5.10/include/net/netfilter/ |
H A D | nf_nat_helper.h | 15 unsigned int rep_len, bool adjust); 24 unsigned int rep_len) in nf_nat_mangle_tcp_packet() 28 rep_buffer, rep_len, true); in nf_nat_mangle_tcp_packet() 35 unsigned int rep_len); 17 nf_nat_mangle_tcp_packet(struct sk_buff *skb, struct nf_conn *ct, enum ip_conntrack_info ctinfo, unsigned int protoff, unsigned int match_offset, unsigned int match_len, const char *rep_buffer, unsigned int rep_len) nf_nat_mangle_tcp_packet() argument
|
/kernel/linux/linux-6.6/include/net/netfilter/ |
H A D | nf_nat_helper.h | 15 unsigned int rep_len, bool adjust); 24 unsigned int rep_len) in nf_nat_mangle_tcp_packet() 28 rep_buffer, rep_len, true); in nf_nat_mangle_tcp_packet() 35 unsigned int rep_len); 17 nf_nat_mangle_tcp_packet(struct sk_buff *skb, struct nf_conn *ct, enum ip_conntrack_info ctinfo, unsigned int protoff, unsigned int match_offset, unsigned int match_len, const char *rep_buffer, unsigned int rep_len) nf_nat_mangle_tcp_packet() argument
|
/kernel/linux/linux-5.10/tools/accounting/ |
H A D | getdelays.c | 173 int rep_len; in get_family_id() local 182 rep_len = recv(sd, &ans, sizeof(ans), 0); in get_family_id() 184 (rep_len < 0) || !NLMSG_OK((&ans.n), rep_len)) in get_family_id() 264 int c, rc, rep_len, aggr_len, len2; in main() local 452 rep_len = recv(nl_sd, &msg, sizeof(msg), 0); in main() 453 PRINTF("received %d bytes\n", rep_len); in main() 455 if (rep_len < 0) { in main() 461 !NLMSG_OK((&msg.n), rep_len)) { in main() 468 PRINTF("nlmsghdr size=%zu, nlmsg_len=%d, rep_len in main() [all...] |
/kernel/linux/linux-5.10/drivers/scsi/ |
H A D | sd_zbc.c | 101 unsigned int rep_len; in sd_zbc_do_report_zones() local 125 rep_len = get_unaligned_be32(&buf[0]); in sd_zbc_do_report_zones() 126 if (rep_len < 64) { in sd_zbc_do_report_zones() 129 rep_len); in sd_zbc_do_report_zones()
|
H A D | scsi_debug.c | 4320 u32 alloc_len, rep_opts, rep_len; in resp_report_zones() local 4440 rep_len = (unsigned long)desc - (unsigned long)arr; in resp_report_zones() 4441 ret = fill_from_dev_buffer(scp, arr, min_t(u32, alloc_len, rep_len)); in resp_report_zones()
|
/kernel/linux/linux-6.6/drivers/scsi/ |
H A D | sd_zbc.c | 155 unsigned int rep_len; in sd_zbc_do_report_zones() local 177 rep_len = get_unaligned_be32(&buf[0]); in sd_zbc_do_report_zones() 178 if (rep_len < 64) { in sd_zbc_do_report_zones() 181 rep_len); in sd_zbc_do_report_zones()
|
H A D | scsi_debug.c | 4469 u32 alloc_len, rep_opts, rep_len; in resp_report_zones() local 4596 rep_len = (unsigned long)desc - (unsigned long)arr; in resp_report_zones() 4597 ret = fill_from_dev_buffer(scp, arr, min_t(u32, alloc_len, rep_len)); in resp_report_zones()
|
/kernel/linux/linux-5.10/drivers/input/touchscreen/ |
H A D | cyttsp4_core.c | 960 u8 rep_len; in cyttsp4_xy_worker() local 977 rep_len = si->xy_mode[si->si_ofs.rep_ofs]; in cyttsp4_xy_worker() 981 "hst_mode=", hst_mode, "rep_len=", rep_len, in cyttsp4_xy_worker() 987 if (rep_len == 0 && num_cur_tch > 0) { in cyttsp4_xy_worker() 988 dev_err(dev, "%s: report length error rep_len=%d num_tch=%d\n", in cyttsp4_xy_worker() 989 __func__, rep_len, num_cur_tch); in cyttsp4_xy_worker()
|
/kernel/linux/linux-6.6/drivers/input/touchscreen/ |
H A D | cyttsp4_core.c | 974 u8 rep_len; in cyttsp4_xy_worker() local 991 rep_len = si->xy_mode[si->si_ofs.rep_ofs]; in cyttsp4_xy_worker() 995 "hst_mode=", hst_mode, "rep_len=", rep_len, in cyttsp4_xy_worker() 1001 if (rep_len == 0 && num_cur_tch > 0) { in cyttsp4_xy_worker() 1002 dev_err(dev, "%s: report length error rep_len=%d num_tch=%d\n", in cyttsp4_xy_worker() 1003 __func__, rep_len, num_cur_tch); in cyttsp4_xy_worker()
|
/kernel/linux/linux-5.10/drivers/s390/crypto/ |
H A D | zcrypt_ep11misc.c | 390 struct ep11_cprb *rep, size_t rep_len) in prep_urb() 397 u->resp_len = rep_len; in prep_urb() 387 prep_urb(struct ep11_urb *u, struct ep11_target_dev *t, int nt, struct ep11_cprb *req, size_t req_len, struct ep11_cprb *rep, size_t rep_len) prep_urb() argument
|
/kernel/linux/linux-6.6/drivers/s390/crypto/ |
H A D | zcrypt_ep11misc.c | 495 struct ep11_cprb *rep, size_t rep_len) in prep_urb() 502 u->resp_len = rep_len; in prep_urb() 492 prep_urb(struct ep11_urb *u, struct ep11_target_dev *t, int nt, struct ep11_cprb *req, size_t req_len, struct ep11_cprb *rep, size_t rep_len) prep_urb() argument
|