Home
last modified time | relevance | path

Searched refs:rep_len (Results 1 – 6 of 6) sorted by relevance

/linux/net/netfilter/
H A Dnf_nat_helper.c30 unsigned int rep_len) in mangle_contents() argument
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() argument
101 if (rep_len > match_len && in __nf_nat_mangle_tcp_packet()
[all …]
/linux/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() argument
28 rep_buffer, rep_len, true); in nf_nat_mangle_tcp_packet()
35 unsigned int rep_len);
/linux/tools/accounting/
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()
331 int c, rc, rep_len, aggr_len, len2; in main() local
518 rep_len = recv(nl_sd, &msg, sizeof(msg), 0); in main()
519 PRINTF("received %d bytes\n", rep_len); in main()
521 if (rep_len < 0) { in main()
527 !NLMSG_OK((&msg.n), rep_len)) { in main()
535 sizeof(struct nlmsghdr), msg.n.nlmsg_len, rep_len); in main()
538 rep_len = GENLMSG_PAYLOAD(&msg.n); in main()
[all …]
H A Ddelaytop.c473 int rep_len; in get_family_id() local
486 rep_len = recv(sd, &ans, sizeof(ans), 0); in get_family_id()
488 (rep_len < 0) || !NLMSG_OK((&ans.n), rep_len)) { in get_family_id()
/linux/drivers/virt/coco/sev-guest/
H A Dsev-guest.c348 unsigned int rep_len, man_len, certs_len; in sev_svsm_report_new() local
368 rep_len = SZ_4K; in sev_svsm_report_new()
386 size = rep_len + man_len + certs_len; in sev_svsm_report_new()
393 ac.report_buf.len = rep_len; in sev_svsm_report_new()
395 man = rep + rep_len; in sev_svsm_report_new()
414 if (ac.report_buf.len > rep_len) { in sev_svsm_report_new()
415 rep_len = PAGE_ALIGN(ac.report_buf.len); in sev_svsm_report_new()
448 rep_len = ac.report_buf.len; in sev_svsm_report_new()
449 void *rbuf __free(kvfree) = kvzalloc(rep_len, GFP_KERNEL); in sev_svsm_report_new()
462 memcpy(rbuf, rep, rep_len); in sev_svsm_report_new()
[all …]
/linux/drivers/scsi/
H A Dscsi_debug.c5906 u32 alloc_len, rep_opts, rep_len; in resp_report_zones() local
6033 rep_len = (unsigned long)desc - (unsigned long)arr; in resp_report_zones()
6034 ret = fill_from_dev_buffer(scp, arr, min_t(u32, alloc_len, rep_len)); in resp_report_zones()