Home
last modified time | relevance | path

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

/net/netfilter/
Dnf_nat_proto_tcp.c43 int hdrsize = 8; /* TCP connection tracking guarantees this much */ in tcp_manip_pkt() local
49 hdrsize = sizeof(struct tcphdr); in tcp_manip_pkt()
51 if (!skb_make_writable(skb, hdroff + hdrsize)) in tcp_manip_pkt()
69 if (hdrsize < sizeof(*hdr)) in tcp_manip_pkt()
Dnf_nat_proto_dccp.c45 int hdrsize = 8; /* DCCP connection tracking guarantees this much */ in dccp_manip_pkt() local
48 hdrsize = sizeof(struct dccp_hdr); in dccp_manip_pkt()
50 if (!skb_make_writable(skb, hdroff + hdrsize)) in dccp_manip_pkt()
66 if (hdrsize < sizeof(*hdr)) in dccp_manip_pkt()
/net/rxrpc/
Dar-peer.c82 peer->hdrsize = sizeof(struct iphdr); in rxrpc_alloc_peer()
85 peer->hdrsize += sizeof(struct udphdr); in rxrpc_alloc_peer()
95 peer->hdrsize += sizeof(struct rxrpc_header); in rxrpc_alloc_peer()
96 peer->maxdata = peer->mtu - peer->hdrsize; in rxrpc_alloc_peer()
Dar-error.c93 if (mtu < peer->hdrsize) in rxrpc_UDP_error_report()
94 mtu = peer->hdrsize + 4; in rxrpc_UDP_error_report()
101 peer->maxdata = peer->mtu - peer->hdrsize; in rxrpc_UDP_error_report()
Dar-ack.c621 peer->mtu = mtu + peer->hdrsize; in rxrpc_extract_ackinfo()
1216 mtu -= call->conn->trans->peer->hdrsize; in rxrpc_process_call()
Dar-internal.h182 unsigned short hdrsize; /* header size (IP + UDP + RxRPC) */ member
/net/tipc/
Dnetlink.c75 .hdrsize = TIPC_GENL_HDRLEN,
/net/irda/
Dirnetlink.c30 .hdrsize = 0,
/net/ieee802154/
Dnetlink.c37 .hdrsize = 0,
/net/netlink/
Dgenetlink.c497 family->hdrsize, flags); in genlmsg_put()
565 hdrlen = GENL_HDRLEN + family->hdrsize; in genl_family_rcv_msg()
708 nla_put_u32(skb, CTRL_ATTR_HDRSIZE, family->hdrsize) || in ctrl_fill_info()
/net/core/
Ddrop_monitor.c64 .hdrsize = 0,
/net/wimax/
Dstack.c579 .hdrsize = 0,
/net/openvswitch/
Ddatapath.c620 .hdrsize = sizeof(struct ovs_header),
1243 .hdrsize = sizeof(struct ovs_header),
1631 .hdrsize = sizeof(struct ovs_header),
2007 .hdrsize = sizeof(struct ovs_header),
/net/hsr/
Dhsr_netlink.c131 .hdrsize = 0,
/net/ipv4/
Dfou.c428 .hdrsize = 0,
Dtcp_metrics.c740 .hdrsize = 0,
/net/netlabel/
Dnetlabel_mgmt.c63 .hdrsize = 0,
Dnetlabel_cipso_v4.c64 .hdrsize = 0,
Dnetlabel_unlabeled.c128 .hdrsize = 0,
/net/nfc/
Dnetlink.c37 .hdrsize = 0,
118 rc = nlmsg_parse(cb->nlh, GENL_HDRLEN + nfc_genl_family.hdrsize, in __get_device_from_cb()
/net/l2tp/
Dl2tp_netlink.c38 .hdrsize = 0,
/net/wireless/
Dnl80211.c43 .hdrsize = 0, /* no private header */
485 err = nlmsg_parse(cb->nlh, GENL_HDRLEN + nl80211_fam.hdrsize, in nl80211_prepare_wdev_dump()
1712 int ret = nlmsg_parse(cb->nlh, GENL_HDRLEN + nl80211_fam.hdrsize, in nl80211_dump_wiphy_parse()
7119 err = nlmsg_parse(cb->nlh, GENL_HDRLEN + nl80211_fam.hdrsize, in nl80211_testmode_dump()
/net/netfilter/ipvs/
Dip_vs_ctl.c2759 .hdrsize = 0,