Home
last modified time | relevance | path

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

12

/linux-3.4.99/drivers/infiniband/hw/ipath/
Dipath_uc.c245 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 …]
Dipath_ud.c414 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()
Dipath_rc.c1122 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/
Dnf_nat_proto_tcp.c44 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()
Dnf_nat_proto_dccp.c46 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/
Dqib_uc.c247 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 …]
Dqib_rc.c1402 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 …]
Dqib_ud.c437 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/
Dfw.c59 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/
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.c96 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()
Dar-ack.c573 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/
Dgenetlink.h46 unsigned int hdrsize; member
148 family->hdrsize - in genlmsg_nlhdr()
/linux-3.4.99/net/tipc/
Dnetlink.c75 .hdrsize = TIPC_GENL_HDRLEN,
/linux-3.4.99/drivers/scsi/aacraid/
Dcomminit.c239 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/
Dnetlink.c15 .hdrsize = 0,
/linux-3.4.99/net/ieee802154/
Dnetlink.c37 .hdrsize = 0,
/linux-3.4.99/net/irda/
Dirnetlink.c30 .hdrsize = 0,
/linux-3.4.99/net/netlink/
Dgenetlink.c520 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/
Ddma.c1272 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/
Dnetlink.c38 .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/
Ddrop_monitor.c61 .hdrsize = 0,
/linux-3.4.99/net/wimax/
Dstack.c555 .hdrsize = 0,
/linux-3.4.99/net/openvswitch/
Ddatapath.c220 .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/
Dnetlabel_mgmt.c64 .hdrsize = 0,

12