/linux-3.4.99/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-3.4.99/net/ipv4/netfilter/ |
D | nf_nat_proto_tcp.c | 44 int hdrsize = 8; /* TCP connection tracking guarantees this much */ in tcp_manip_pkt() local 50 hdrsize = sizeof(struct tcphdr); in tcp_manip_pkt() 52 if (!skb_make_writable(skb, hdroff + hdrsize)) in tcp_manip_pkt() 75 if (hdrsize < sizeof(*hdr)) in tcp_manip_pkt()
|
D | nf_nat_proto_dccp.c | 46 int hdrsize = 8; /* DCCP connection tracking guarantees this much */ in dccp_manip_pkt() local 49 hdrsize = sizeof(struct dccp_hdr); in dccp_manip_pkt() 51 if (!skb_make_writable(skb, hdroff + hdrsize)) in dccp_manip_pkt() 72 if (hdrsize < sizeof(*hdr)) in dccp_manip_pkt()
|
/linux-3.4.99/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() 375 if (unlikely(tlen != (hdrsize + pmtu + 4))) in qib_uc_rcv() 386 hdrsize += 4; in qib_uc_rcv() 398 if (unlikely(tlen < (hdrsize + pad + 4))) in qib_uc_rcv() 401 tlen -= (hdrsize + pad + 4); in qib_uc_rcv() 440 hdrsize += sizeof(*reth); in qib_uc_rcv() 471 if (unlikely(tlen != (hdrsize + pmtu + 4))) in qib_uc_rcv() 482 hdrsize += 4; in qib_uc_rcv() [all …]
|
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 …]
|
D | qib_ud.c | 437 u32 hdrsize; in qib_ud_rcv() local 447 hdrsize = 8 + 12 + 8; /* LRH + BTH + DETH */ in qib_ud_rcv() 450 hdrsize = 8 + 40 + 12 + 8; /* LRH + GRH + BTH + DETH */ in qib_ud_rcv() 460 if (unlikely(tlen < (hdrsize + pad + 4))) in qib_ud_rcv() 463 tlen -= hdrsize + pad + 4; in qib_ud_rcv()
|
/linux-3.4.99/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-3.4.99/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 | 96 if (mtu < peer->hdrsize) in rxrpc_UDP_error_report() 97 mtu = peer->hdrsize + 4; in rxrpc_UDP_error_report() 104 peer->maxdata = peer->mtu - peer->hdrsize; in rxrpc_UDP_error_report()
|
D | ar-ack.c | 573 peer->mtu = mtu + peer->hdrsize; in rxrpc_extract_ackinfo() 1168 mtu -= call->conn->trans->peer->hdrsize; in rxrpc_process_call()
|
/linux-3.4.99/include/net/ |
D | genetlink.h | 46 unsigned int hdrsize; member 148 family->hdrsize - in genlmsg_nlhdr()
|
/linux-3.4.99/net/tipc/ |
D | netlink.c | 75 .hdrsize = TIPC_GENL_HDRLEN,
|
/linux-3.4.99/drivers/scsi/aacraid/ |
D | comminit.c | 239 unsigned long hdrsize = (sizeof(u32) * NUMBER_OF_COMM_QUEUES) * 2; in aac_comm_init() local 258 size = hdrsize + queuesize; in aac_comm_init() 263 queues = (struct aac_entry *)(((ulong)headers) + hdrsize); in aac_comm_init()
|
/linux-3.4.99/fs/quota/ |
D | netlink.c | 15 .hdrsize = 0,
|
/linux-3.4.99/net/ieee802154/ |
D | netlink.c | 37 .hdrsize = 0,
|
/linux-3.4.99/net/irda/ |
D | irnetlink.c | 30 .hdrsize = 0,
|
/linux-3.4.99/net/netlink/ |
D | genetlink.c | 520 family->hdrsize, flags); in genlmsg_put() 550 hdrlen = GENL_HDRLEN + family->hdrsize; in genl_rcv_msg() 642 NLA_PUT_U32(skb, CTRL_ATTR_HDRSIZE, family->hdrsize); in ctrl_fill_info()
|
/linux-3.4.99/drivers/net/wireless/b43/ |
D | dma.c | 1272 size_t hdrsize = b43_txhdr_size(ring->dev); in dma_tx_fragment() local 1287 header = &(ring->txhdr_cache[(slot / TX_SLOTS_PER_FRAME) * hdrsize]); in dma_tx_fragment() 1298 hdrsize, 1); in dma_tx_fragment() 1299 if (b43_dma_mapping_error(ring, meta_hdr->dmaaddr, hdrsize, 1)) { in dma_tx_fragment() 1305 hdrsize, 1, 0, 0); in dma_tx_fragment() 1354 hdrsize, 1); in dma_tx_fragment()
|
/linux-3.4.99/net/nfc/ |
D | netlink.c | 38 .hdrsize = 0, 93 rc = nlmsg_parse(cb->nlh, GENL_HDRLEN + nfc_genl_family.hdrsize, in __get_device_from_cb()
|
/linux-3.4.99/net/core/ |
D | drop_monitor.c | 61 .hdrsize = 0,
|
/linux-3.4.99/net/wimax/ |
D | stack.c | 555 .hdrsize = 0,
|
/linux-3.4.99/net/openvswitch/ |
D | datapath.c | 220 .hdrsize = sizeof(struct ovs_header), 741 .hdrsize = sizeof(struct ovs_header), 1148 .hdrsize = sizeof(struct ovs_header), 1454 .hdrsize = sizeof(struct ovs_header),
|
/linux-3.4.99/net/netlabel/ |
D | netlabel_mgmt.c | 64 .hdrsize = 0,
|