Home
last modified time | relevance | path

Searched refs:hdrsize (Results 1 – 25 of 34) sorted by relevance

12

/net/netfilter/
Dnf_flow_table_ip.c167 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 …]
Dnf_nat_proto.c106 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/
Dpeer_object.c256 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()
Dpeer_event.c368 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()
Dconn_event.c98 mtu -= conn->params.peer->hdrsize; in rxrpc_conn_retransmit_call()
Doutput.c120 mtu -= conn->params.peer->hdrsize; in rxrpc_fill_out_ack()
Dar-internal.h312 unsigned short hdrsize; /* header size (IP + UDP + RxRPC) */ member
/net/smc/
Dsmc_netlink.c77 .hdrsize = 0,
Dsmc_pnet.c705 .hdrsize = 0,
/net/ipv6/ila/
Dila_main.c48 .hdrsize = 0,
/net/ieee802154/
Dnetlink.c127 .hdrsize = 0,
/net/tipc/
Dnetlink.c290 .hdrsize = 0,
/net/core/
Ddrop_monitor.c564 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/
Dgenetlink.c495 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/
Dnetlabel_calipso.c364 .hdrsize = 0,
Dnetlabel_cipso_v4.c762 .hdrsize = 0,
Dnetlabel_mgmt.c821 .hdrsize = 0,
Dnetlabel_unlabeled.c1369 .hdrsize = 0,
/net/ipv6/
Dseg6.c494 .hdrsize = 0,
/net/openvswitch/
Ddatapath.c685 .hdrsize = sizeof(struct ovs_header),
1509 .hdrsize = sizeof(struct ovs_header),
2040 .hdrsize = sizeof(struct ovs_header),
2523 .hdrsize = sizeof(struct ovs_header),
Dmeter.c717 .hdrsize = sizeof(struct ovs_header),
/net/hsr/
Dhsr_netlink.c514 .hdrsize = 0,
/net/sunrpc/
Dclnt.c1272 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/
Dtcp_metrics.c980 .hdrsize = 0,
/net/l2tp/
Dl2tp_netlink.c985 .hdrsize = 0,

12