/linux-4.1.27/net/netfilter/ |
D | nf_nat_proto_tcp.c | 43 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()
|
D | nf_nat_proto_dccp.c | 45 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()
|
/linux-4.1.27/drivers/infiniband/hw/ipath/ |
D | ipath_uc.c | 245 u32 hdrsize; in ipath_uc_rcv() local 260 hdrsize = 8 + 12; /* LRH + BTH */ in ipath_uc_rcv() 265 hdrsize = 8 + 40 + 12; /* LRH + GRH + BTH */ in ipath_uc_rcv() 365 if (unlikely(tlen != (hdrsize + pmtu + 4))) { in ipath_uc_rcv() 388 hdrsize += 4; in ipath_uc_rcv() 397 if (unlikely(tlen < (hdrsize + pad + 4))) { in ipath_uc_rcv() 403 tlen -= (hdrsize + pad + 4); in ipath_uc_rcv() 436 hdrsize += sizeof(*reth); in ipath_uc_rcv() 471 if (unlikely(tlen != (hdrsize + pmtu + 4))) { in ipath_uc_rcv() 492 hdrsize += 4; in ipath_uc_rcv() [all …]
|
D | ipath_ud.c | 414 u32 hdrsize; in ipath_ud_rcv() local 425 hdrsize = 8 + 12 + 8; /* LRH + BTH + DETH */ in ipath_ud_rcv() 431 hdrsize = 8 + 40 + 12 + 8; /* LRH + GRH + BTH + DETH */ in ipath_ud_rcv() 488 hdrsize += sizeof(u32); in ipath_ud_rcv() 499 if (unlikely(tlen < (hdrsize + pad + 4))) { in ipath_ud_rcv() 504 tlen -= hdrsize + pad + 4; in ipath_ud_rcv()
|
D | ipath_rc.c | 1122 u32 psn, u32 hdrsize, u32 pmtu, in ipath_rc_rcv_resp() argument 1188 hdrsize += 4; in ipath_rc_rcv_resp() 1215 if (unlikely(tlen != (hdrsize + pmtu + 4))) in ipath_rc_rcv_resp() 1254 if (unlikely(tlen < (hdrsize + pad + 8))) in ipath_rc_rcv_resp() 1285 if (unlikely(tlen <= (hdrsize + pad + 8))) in ipath_rc_rcv_resp() 1288 tlen -= hdrsize + pad + 8; in ipath_rc_rcv_resp() 1575 u32 hdrsize; in ipath_rc_rcv() local 1592 hdrsize = 8 + 12; /* LRH + BTH */ in ipath_rc_rcv() 1597 hdrsize = 8 + 40 + 12; /* LRH + GRH + BTH */ in ipath_rc_rcv() 1621 hdrsize, pmtu, header_in_data); in ipath_rc_rcv() [all …]
|
/linux-4.1.27/drivers/infiniband/hw/qib/ |
D | qib_uc.c | 247 u32 hdrsize; in qib_uc_rcv() local 258 hdrsize = 8 + 12; /* LRH + BTH */ in qib_uc_rcv() 261 hdrsize = 8 + 40 + 12; /* LRH + GRH + BTH */ in qib_uc_rcv() 371 if (unlikely(tlen != (hdrsize + pmtu + 4))) in qib_uc_rcv() 382 hdrsize += 4; in qib_uc_rcv() 394 if (unlikely(tlen < (hdrsize + pad + 4))) in qib_uc_rcv() 397 tlen -= (hdrsize + pad + 4); in qib_uc_rcv() 431 hdrsize += sizeof(*reth); in qib_uc_rcv() 462 if (unlikely(tlen != (hdrsize + pmtu + 4))) in qib_uc_rcv() 473 hdrsize += 4; in qib_uc_rcv() [all …]
|
D | qib_ud.c | 433 u32 hdrsize; in qib_ud_rcv() local 443 hdrsize = 8 + 12 + 8; /* LRH + BTH + DETH */ in qib_ud_rcv() 446 hdrsize = 8 + 40 + 12 + 8; /* LRH + GRH + BTH + DETH */ in qib_ud_rcv() 456 if (unlikely(tlen < (hdrsize + pad + 4))) in qib_ud_rcv() 459 tlen -= hdrsize + pad + 4; in qib_ud_rcv()
|
D | qib_rc.c | 1402 u32 psn, u32 hdrsize, u32 pmtu, in qib_rc_rcv_resp() argument 1487 hdrsize += 4; in qib_rc_rcv_resp() 1507 if (unlikely(tlen != (hdrsize + pmtu + 4))) in qib_rc_rcv_resp() 1547 if (unlikely(tlen < (hdrsize + pad + 8))) in qib_rc_rcv_resp() 1572 if (unlikely(tlen <= (hdrsize + pad + 8))) in qib_rc_rcv_resp() 1575 tlen -= hdrsize + pad + 8; in qib_rc_rcv_resp() 1868 u32 hdrsize; in qib_rc_rcv() local 1881 hdrsize = 8 + 12; /* LRH + BTH */ in qib_rc_rcv() 1884 hdrsize = 8 + 40 + 12; /* LRH + GRH + BTH */ in qib_rc_rcv() 1903 hdrsize, pmtu, rcd); in qib_rc_rcv() [all …]
|
/linux-4.1.27/drivers/net/wireless/orinoco/ |
D | fw.c | 59 u16 hdrsize; in validate_fw() local 66 hdrsize = le16_to_cpu(hdr->headersize); in validate_fw() 67 if (hdrsize > len) in validate_fw() 69 if ((hdrsize + le32_to_cpu(hdr->block_offset)) > len) in validate_fw() 71 if ((hdrsize + le32_to_cpu(hdr->pdr_offset)) > len) in validate_fw() 73 if ((hdrsize + le32_to_cpu(hdr->pri_offset)) > len) in validate_fw() 75 if ((hdrsize + le32_to_cpu(hdr->compat_offset)) > len) in validate_fw()
|
/linux-4.1.27/net/rxrpc/ |
D | ar-peer.c | 82 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()
|
D | ar-error.c | 98 if (mtu < peer->hdrsize) in rxrpc_UDP_error_report() 99 mtu = peer->hdrsize + 4; in rxrpc_UDP_error_report() 106 peer->maxdata = peer->mtu - peer->hdrsize; in rxrpc_UDP_error_report()
|
D | ar-ack.c | 622 peer->mtu = mtu + peer->hdrsize; in rxrpc_extract_ackinfo() 1217 mtu -= call->conn->trans->peer->hdrsize; in rxrpc_process_call()
|
D | ar-internal.h | 184 unsigned short hdrsize; /* header size (IP + UDP + RxRPC) */ member
|
/linux-4.1.27/include/net/ |
D | genetlink.h | 52 unsigned int hdrsize; member 206 family->hdrsize - in genlmsg_nlhdr() 224 return nlmsg_parse(nlh, family->hdrsize + GENL_HDRLEN, tb, maxtype, in genlmsg_parse()
|
/linux-4.1.27/fs/quota/ |
D | netlink.c | 25 .hdrsize = 0,
|
/linux-4.1.27/net/irda/ |
D | irnetlink.c | 30 .hdrsize = 0,
|
/linux-4.1.27/net/tipc/ |
D | netlink.c | 65 .hdrsize = 0,
|
D | netlink_compat.c | 1055 .hdrsize = TIPC_GENL_HDRLEN,
|
/linux-4.1.27/drivers/scsi/aacraid/ |
D | comminit.c | 271 unsigned long hdrsize = (sizeof(u32) * NUMBER_OF_COMM_QUEUES) * 2; in aac_comm_init() local 290 size = hdrsize + queuesize; in aac_comm_init() 295 queues = (struct aac_entry *)(((ulong)headers) + hdrsize); in aac_comm_init()
|
/linux-4.1.27/net/ieee802154/ |
D | netlink.c | 33 .hdrsize = 0,
|
D | nl802154.c | 39 .hdrsize = 0, /* no private header */ 328 int ret = nlmsg_parse(cb->nlh, GENL_HDRLEN + nl802154_fam.hdrsize, in nl802154_dump_wpan_phy_parse()
|
/linux-4.1.27/drivers/crypto/nx/ |
D | nx-842.c | 337 int ret = 0, max_sync_size, i, bytesleft, size, hdrsize; in nx842_compress() local 368 hdrsize = nx842_header_size(hdr); in nx842_compress() 369 outbuf = (unsigned long)out + hdrsize; in nx842_compress() 370 bytesleft = *outlen - hdrsize; in nx842_compress() 399 hdr->offset = padding + hdrsize; in nx842_compress()
|
/linux-4.1.27/drivers/net/wireless/b43/ |
D | dma.c | 1264 size_t hdrsize = b43_txhdr_size(ring->dev); in dma_tx_fragment() local 1279 header = &(ring->txhdr_cache[(slot / TX_SLOTS_PER_FRAME) * hdrsize]); in dma_tx_fragment() 1290 hdrsize, 1); in dma_tx_fragment() 1291 if (b43_dma_mapping_error(ring, meta_hdr->dmaaddr, hdrsize, 1)) { in dma_tx_fragment() 1297 hdrsize, 1, 0, 0); in dma_tx_fragment() 1346 hdrsize, 1); in dma_tx_fragment()
|
/linux-4.1.27/net/netlink/ |
D | genetlink.c | 503 family->hdrsize, flags); in genlmsg_put() 557 hdrlen = GENL_HDRLEN + family->hdrsize; in genl_family_rcv_msg() 698 nla_put_u32(skb, CTRL_ATTR_HDRSIZE, family->hdrsize) || in ctrl_fill_info()
|
/linux-4.1.27/include/linux/ |
D | pe.h | 31 uint16_t hdrsize; /* header size in "paragraphs" */ member
|
D | genl_magic_func.h | 267 .hdrsize = NLA_ALIGN(GENL_MAGIC_FAMILY_HDRSZ),
|
/linux-4.1.27/fs/xfs/libxfs/ |
D | xfs_dir2_leaf.c | 1653 int hdrsize; in xfs_dir3_leaf_size() local 1658 hdrsize = sizeof(struct xfs_dir2_leaf_hdr); in xfs_dir3_leaf_size() 1660 hdrsize = sizeof(struct xfs_dir3_leaf_hdr); in xfs_dir3_leaf_size() 1662 return hdrsize + entries * sizeof(xfs_dir2_leaf_entry_t) in xfs_dir3_leaf_size()
|
/linux-4.1.27/net/core/ |
D | drop_monitor.c | 64 .hdrsize = 0,
|
/linux-4.1.27/net/wimax/ |
D | stack.c | 579 .hdrsize = 0,
|
/linux-4.1.27/net/hsr/ |
D | hsr_netlink.c | 131 .hdrsize = 0,
|
/linux-4.1.27/net/openvswitch/ |
D | datapath.c | 622 .hdrsize = sizeof(struct ovs_header), 1370 .hdrsize = sizeof(struct ovs_header), 1756 .hdrsize = sizeof(struct ovs_header), 2137 .hdrsize = sizeof(struct ovs_header),
|
/linux-4.1.27/net/netlabel/ |
D | netlabel_mgmt.c | 63 .hdrsize = 0,
|
D | netlabel_cipso_v4.c | 64 .hdrsize = 0,
|
D | netlabel_unlabeled.c | 128 .hdrsize = 0,
|
/linux-4.1.27/net/nfc/ |
D | netlink.c | 37 .hdrsize = 0, 119 rc = nlmsg_parse(cb->nlh, GENL_HDRLEN + nfc_genl_family.hdrsize, in __get_device_from_cb()
|
/linux-4.1.27/net/ipv4/ |
D | fou.c | 549 .hdrsize = 0,
|
D | tcp_metrics.c | 762 .hdrsize = 0,
|
/linux-4.1.27/net/l2tp/ |
D | l2tp_netlink.c | 38 .hdrsize = 0,
|
/linux-4.1.27/drivers/target/ |
D | target_core_user.c | 146 .hdrsize = 0,
|
/linux-4.1.27/drivers/net/wireless/ |
D | mac80211_hwsim.c | 563 .hdrsize = 0,
|
/linux-4.1.27/net/wireless/ |
D | nl80211.c | 43 .hdrsize = 0, /* no private header */ 491 err = nlmsg_parse(cb->nlh, GENL_HDRLEN + nl80211_fam.hdrsize, in nl80211_prepare_wdev_dump() 1738 int ret = nlmsg_parse(cb->nlh, GENL_HDRLEN + nl80211_fam.hdrsize, in nl80211_dump_wiphy_parse() 7571 err = nlmsg_parse(cb->nlh, GENL_HDRLEN + nl80211_fam.hdrsize, in nl80211_testmode_dump()
|
/linux-4.1.27/net/netfilter/ipvs/ |
D | ip_vs_ctl.c | 2788 .hdrsize = 0,
|
/linux-4.1.27/drivers/scsi/ |
D | pmcraid.c | 1446 ((struct genl_family *)&pmcraid_event_family)->hdrsize) in pmcraid_notify_aen()
|