Searched refs:hdrsize (Results 1 – 25 of 36) sorted by relevance
12
/net/netfilter/ |
D | nft_inner.c | 44 u8 hdrsize; member 61 u32 hdrsize; in nft_inner_parse_l2l3() local 71 hdrsize = sizeof(_eth); in nft_inner_parse_l2l3() 80 hdrsize = sizeof(_veth); in nft_inner_parse_l2l3() 88 off += hdrsize; in nft_inner_parse_l2l3() 188 *off += priv->hdrsize; in nft_inner_parse_tunhdr() 296 u32 flags, hdrsize, type, num; in nft_inner_init() local 315 hdrsize = ntohl(nla_get_be32(tb[NFTA_INNER_HDRSIZE])); in nft_inner_init() 322 if (hdrsize == 0 || hdrsize > 64) in nft_inner_init() 327 priv->hdrsize = hdrsize; in nft_inner_init() [all …]
|
D | nf_flow_table_ip.c | 170 u32 hdrsize; member 196 ctx->hdrsize = sizeof(struct tcphdr); in nf_flow_tuple_ip() 199 ctx->hdrsize = sizeof(struct udphdr); in nf_flow_tuple_ip() 203 ctx->hdrsize = sizeof(struct gre_base_hdr); in nf_flow_tuple_ip() 213 if (!pskb_may_pull(skb, thoff + ctx->hdrsize)) in nf_flow_tuple_ip() 393 if (skb_try_make_writable(skb, thoff + ctx->hdrsize)) in nf_flow_offload_forward() 596 ctx->hdrsize = sizeof(struct tcphdr); in nf_flow_tuple_ipv6() 599 ctx->hdrsize = sizeof(struct udphdr); in nf_flow_tuple_ipv6() 603 ctx->hdrsize = sizeof(struct gre_base_hdr); in nf_flow_tuple_ipv6() 613 if (!pskb_may_pull(skb, thoff + ctx->hdrsize)) in nf_flow_tuple_ipv6() [all …]
|
D | nf_nat_proto.c | 106 int hdrsize = 8; in sctp_manip_pkt() local 113 hdrsize = sizeof(*hdr); in sctp_manip_pkt() 115 if (skb_ensure_writable(skb, hdroff + hdrsize)) in sctp_manip_pkt() 128 if (hdrsize < sizeof(*hdr)) in sctp_manip_pkt() 148 int hdrsize = 8; /* TCP connection tracking guarantees this much */ in tcp_manip_pkt() local 154 hdrsize = sizeof(struct tcphdr); in tcp_manip_pkt() 156 if (skb_ensure_writable(skb, hdroff + hdrsize)) in tcp_manip_pkt() 174 if (hdrsize < sizeof(*hdr)) in tcp_manip_pkt() 191 int hdrsize = 8; /* DCCP connection tracking guarantees this much */ in dccp_manip_pkt() local 194 hdrsize = sizeof(struct dccp_hdr); in dccp_manip_pkt() [all …]
|
/net/rxrpc/ |
D | peer_object.c | 249 peer->hdrsize = sizeof(struct iphdr); in rxrpc_init_peer() 253 peer->hdrsize = sizeof(struct ipv6hdr); in rxrpc_init_peer() 262 peer->hdrsize += sizeof(struct udphdr); in rxrpc_init_peer() 268 peer->hdrsize += sizeof(struct rxrpc_wire_header); in rxrpc_init_peer() 269 peer->maxdata = peer->mtu - peer->hdrsize; in rxrpc_init_peer()
|
D | peer_event.c | 118 if (mtu < peer->hdrsize) in rxrpc_adjust_mtu() 119 mtu = peer->hdrsize + 4; in rxrpc_adjust_mtu() 126 peer->maxdata = peer->mtu - peer->hdrsize; in rxrpc_adjust_mtu()
|
D | conn_event.c | 153 mtu -= conn->peer->hdrsize; in rxrpc_conn_retransmit_call()
|
D | output.c | 124 mtu -= conn->peer->hdrsize; in rxrpc_fill_out_ack()
|
D | input.c | 721 peer->mtu = mtu + peer->hdrsize; in rxrpc_input_ack_trailer()
|
/net/sched/ |
D | act_ct.c | 520 size_t hdrsize; in tcf_ct_flow_table_fill_tuple_ipv4() local 536 hdrsize = sizeof(struct tcphdr); in tcf_ct_flow_table_fill_tuple_ipv4() 539 hdrsize = sizeof(*ports); in tcf_ct_flow_table_fill_tuple_ipv4() 543 hdrsize = sizeof(struct gre_base_hdr); in tcf_ct_flow_table_fill_tuple_ipv4() 553 if (!pskb_network_may_pull(skb, thoff + hdrsize)) in tcf_ct_flow_table_fill_tuple_ipv4() 593 size_t hdrsize; in tcf_ct_flow_table_fill_tuple_ipv6() local 605 hdrsize = sizeof(struct tcphdr); in tcf_ct_flow_table_fill_tuple_ipv6() 608 hdrsize = sizeof(*ports); in tcf_ct_flow_table_fill_tuple_ipv6() 612 hdrsize = sizeof(struct gre_base_hdr); in tcf_ct_flow_table_fill_tuple_ipv6() 622 if (!pskb_network_may_pull(skb, thoff + hdrsize)) in tcf_ct_flow_table_fill_tuple_ipv6()
|
/net/smc/ |
D | smc_netlink.c | 137 .hdrsize = 0,
|
/net/ipv6/ila/ |
D | ila_main.c | 47 .hdrsize = 0,
|
/net/ieee802154/ |
D | netlink.c | 127 .hdrsize = 0,
|
/net/tipc/ |
D | netlink.c | 290 .hdrsize = 0,
|
/net/core/ |
D | drop_monitor.c | 561 size = nlmsg_msg_size(GENL_HDRLEN + net_drop_monitor_family.hdrsize); in net_dm_packet_report_size() 755 size = nlmsg_msg_size(GENL_HDRLEN + net_drop_monitor_family.hdrsize); in net_dm_hw_packet_report_size() 1655 .hdrsize = 0,
|
/net/netlabel/ |
D | netlabel_calipso.c | 364 .hdrsize = 0,
|
D | netlabel_cipso_v4.c | 762 .hdrsize = 0,
|
D | netlabel_mgmt.c | 821 .hdrsize = 0,
|
D | netlabel_unlabeled.c | 1369 .hdrsize = 0,
|
/net/netlink/ |
D | genetlink.c | 756 family->hdrsize, flags); in genlmsg_put() 1027 hdrlen = GENL_HDRLEN + family->hdrsize; in genl_family_rcv_msg() 1098 nla_put_u32(skb, CTRL_ATTR_HDRSIZE, family->hdrsize) || in ctrl_fill_info()
|
/net/ipv6/ |
D | seg6.c | 498 .hdrsize = 0,
|
/net/openvswitch/ |
D | datapath.c | 710 .hdrsize = sizeof(struct ovs_header), 1535 .hdrsize = sizeof(struct ovs_header), 2084 .hdrsize = sizeof(struct ovs_header), 2576 .hdrsize = sizeof(struct ovs_header),
|
D | meter.c | 714 .hdrsize = sizeof(struct ovs_header),
|
/net/hsr/ |
D | hsr_netlink.c | 514 .hdrsize = 0,
|
/net/sunrpc/ |
D | clnt.c | 1352 unsigned int hdrsize) in rpc_prepare_reply_pages() argument 1354 hdrsize += RPC_REPHDRSIZE + req->rq_cred->cr_auth->au_ralign; in rpc_prepare_reply_pages() 1356 xdr_inline_pages(&req->rq_rcv_buf, hdrsize << 2, pages, base, len); in rpc_prepare_reply_pages()
|
/net/ipv4/ |
D | tcp_metrics.c | 984 .hdrsize = 0,
|
12