Searched refs:hdrsize (Results 1 – 25 of 34) sorted by relevance
12
/net/netfilter/ |
D | nf_flow_table_ip.c | 167 struct flow_offload_tuple *tuple, u32 *hdrsize, in nf_flow_tuple_ip() argument 188 *hdrsize = sizeof(struct tcphdr); in nf_flow_tuple_ip() 191 *hdrsize = sizeof(struct udphdr); in nf_flow_tuple_ip() 200 if (!pskb_may_pull(skb, thoff + *hdrsize)) in nf_flow_tuple_ip() 328 u32 hdrsize, offset = 0; in nf_flow_offload_ip_hook() local 339 if (nf_flow_tuple_ip(skb, state->in, &tuple, &hdrsize, offset) < 0) in nf_flow_offload_ip_hook() 363 if (skb_try_make_writable(skb, thoff + hdrsize)) in nf_flow_offload_ip_hook() 514 struct flow_offload_tuple *tuple, u32 *hdrsize, in nf_flow_tuple_ipv6() argument 529 *hdrsize = sizeof(struct tcphdr); in nf_flow_tuple_ipv6() 532 *hdrsize = sizeof(struct udphdr); 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 | 256 peer->hdrsize = sizeof(struct iphdr); in rxrpc_init_peer() 260 peer->hdrsize = sizeof(struct ipv6hdr); in rxrpc_init_peer() 269 peer->hdrsize += sizeof(struct udphdr); in rxrpc_init_peer() 275 peer->hdrsize += sizeof(struct rxrpc_wire_header); in rxrpc_init_peer() 276 peer->maxdata = peer->mtu - peer->hdrsize; in rxrpc_init_peer()
|
D | peer_event.c | 368 if (mtu < peer->hdrsize) in rxrpc_adjust_mtu() 369 mtu = peer->hdrsize + 4; in rxrpc_adjust_mtu() 376 peer->maxdata = peer->mtu - peer->hdrsize; in rxrpc_adjust_mtu()
|
D | conn_event.c | 98 mtu -= conn->params.peer->hdrsize; in rxrpc_conn_retransmit_call()
|
D | output.c | 120 mtu -= conn->params.peer->hdrsize; in rxrpc_fill_out_ack()
|
D | ar-internal.h | 312 unsigned short hdrsize; /* header size (IP + UDP + RxRPC) */ member
|
/net/smc/ |
D | smc_netlink.c | 77 .hdrsize = 0,
|
D | smc_pnet.c | 705 .hdrsize = 0,
|
/net/ipv6/ila/ |
D | ila_main.c | 48 .hdrsize = 0,
|
/net/ieee802154/ |
D | netlink.c | 127 .hdrsize = 0,
|
/net/tipc/ |
D | netlink.c | 290 .hdrsize = 0,
|
/net/core/ |
D | drop_monitor.c | 564 size = nlmsg_msg_size(GENL_HDRLEN + net_drop_monitor_family.hdrsize); in net_dm_packet_report_size() 734 size = nlmsg_msg_size(GENL_HDRLEN + net_drop_monitor_family.hdrsize); in net_dm_hw_packet_report_size() 1652 .hdrsize = 0,
|
/net/netlink/ |
D | genetlink.c | 495 family->hdrsize, flags); in genlmsg_put() 756 hdrlen = GENL_HDRLEN + family->hdrsize; in genl_family_rcv_msg() 825 nla_put_u32(skb, CTRL_ATTR_HDRSIZE, family->hdrsize) || in ctrl_fill_info()
|
/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/ipv6/ |
D | seg6.c | 494 .hdrsize = 0,
|
/net/openvswitch/ |
D | datapath.c | 685 .hdrsize = sizeof(struct ovs_header), 1509 .hdrsize = sizeof(struct ovs_header), 2040 .hdrsize = sizeof(struct ovs_header), 2523 .hdrsize = sizeof(struct ovs_header),
|
D | meter.c | 717 .hdrsize = sizeof(struct ovs_header),
|
/net/hsr/ |
D | hsr_netlink.c | 514 .hdrsize = 0,
|
/net/sunrpc/ |
D | clnt.c | 1272 unsigned int hdrsize) in rpc_prepare_reply_pages() argument 1274 hdrsize += RPC_REPHDRSIZE + req->rq_cred->cr_auth->au_ralign; in rpc_prepare_reply_pages() 1276 xdr_inline_pages(&req->rq_rcv_buf, hdrsize << 2, pages, base, len); in rpc_prepare_reply_pages()
|
/net/ipv4/ |
D | tcp_metrics.c | 980 .hdrsize = 0,
|
/net/l2tp/ |
D | l2tp_netlink.c | 985 .hdrsize = 0,
|
12