Home
last modified time | relevance | path

Searched refs:rep_len (Results 1 - 15 of 15) sorted by relevance

/kernel/linux/linux-5.10/net/netfilter/
H A Dnf_nat_helper.c30 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 Dnf_nat_helper.c30 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 Dprocacct.c179 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 Dgetdelays.c172 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 Dnf_nat_helper.h15 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 Dnf_nat_helper.h15 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 Dgetdelays.c173 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 Dsd_zbc.c101 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 Dscsi_debug.c4320 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 Dsd_zbc.c155 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 Dscsi_debug.c4469 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 Dcyttsp4_core.c960 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 Dcyttsp4_core.c974 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 Dzcrypt_ep11misc.c390 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 Dzcrypt_ep11misc.c495 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

Completed in 35 milliseconds