| /linux/net/netfilter/ |
| H A D | nft_inner.c | 51 u8 hdrsize; in nft_inner_parse_l2l3() 68 u32 hdrsize; in nft_inner_parse_l2l3() 78 hdrsize = sizeof(_eth); in nft_inner_parse_l2l3() 87 hdrsize = sizeof(_veth); in nft_inner_parse_l2l3() 95 off += hdrsize; in nft_inner_parse_l2l3() 195 *off += priv->hdrsize; in nft_inner_parse_tunhdr() 341 u32 flags, hdrsize, type, num; in nft_inner_init() 360 hdrsize = ntohl(nla_get_be32(tb[NFTA_INNER_HDRSIZE])); in nft_inner_init() 367 if (hdrsize == 0 || hdrsize > 6 in nft_inner_init() 44 u8 hdrsize; global() member 61 u32 hdrsize; nft_inner_parse_l2l3() local 329 u32 flags, hdrsize, type, num; nft_inner_init() local [all...] |
| H A D | nf_flow_table_ip.c | 190 u32 hdrsize; in nf_flow_tuple_ip() 216 ctx->hdrsize = sizeof(struct tcphdr); in nf_flow_tuple_ip() 219 ctx->hdrsize = sizeof(struct udphdr); in nf_flow_tuple_ip() 223 ctx->hdrsize = sizeof(struct gre_base_hdr); in nf_flow_tuple_ip() 233 if (!pskb_may_pull(skb, thoff + ctx->hdrsize)) in nf_flow_tuple_ip() 456 if (skb_try_make_writable(skb, thoff + ctx->hdrsize)) in nf_flow_offload_ip_hook() 795 ctx->hdrsize = sizeof(struct tcphdr); 798 ctx->hdrsize = sizeof(struct udphdr); 802 ctx->hdrsize = sizeof(struct gre_base_hdr); 812 if (!pskb_may_pull(skb, thoff + ctx->hdrsize)) 174 u32 hdrsize; global() member [all...] |
| H A D | nf_nat_proto.c | 106 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()
|
| /linux/net/rxrpc/ |
| H A D | peer_object.c | 164 if (peer->max_data < peer->if_mtu - peer->hdrsize) { in rxrpc_assess_MTU_size() 165 trace_rxrpc_pmtud_reduce(peer, 0, peer->if_mtu - peer->hdrsize, in rxrpc_assess_MTU_size() 167 peer->max_data = peer->if_mtu - peer->hdrsize; in rxrpc_assess_MTU_size() 206 peer->hdrsize += dst->header_len + dst->trailer_len; in rxrpc_assess_MTU_size() 210 peer->max_data = umin(RXRPC_JUMBO(1), peer->if_mtu - peer->hdrsize); in rxrpc_assess_MTU_size() 212 peer->pmtud_bad = peer->if_mtu - peer->hdrsize + 1; in rxrpc_assess_MTU_size() 258 peer->hdrsize = sizeof(struct iphdr); in rxrpc_init_peer() 262 peer->hdrsize = sizeof(struct ipv6hdr); in rxrpc_init_peer() 271 peer->hdrsize += sizeof(struct udphdr); in rxrpc_init_peer() 277 peer->hdrsize += sizeof(struct rxrpc_wire_header); in rxrpc_init_peer() [all …]
|
| H A D | peer_event.c | 120 if (mtu < peer->hdrsize) in rxrpc_adjust_mtu() 121 mtu = peer->hdrsize + 4; in rxrpc_adjust_mtu() 125 max_data = max_t(int, mtu - peer->hdrsize, 500); in rxrpc_adjust_mtu()
|
| H A D | conn_event.c | 161 if_mtu = conn->peer->if_mtu - conn->peer->hdrsize; in rxrpc_conn_retransmit_call()
|
| /linux/drivers/infiniband/hw/hfi1/ |
| H A D | uc.c | 267 u32 hdrsize = packet->hlen; in hfi1_uc_rcv() local 379 if (unlikely(tlen != (hdrsize + pmtu + extra_bytes))) in hfi1_uc_rcv() 399 if (unlikely(tlen < (hdrsize + extra_bytes))) in hfi1_uc_rcv() 402 tlen -= (hdrsize + extra_bytes); in hfi1_uc_rcv() 475 if (unlikely(tlen != (hdrsize + pmtu + 4))) in hfi1_uc_rcv() 490 if (unlikely(tlen < (hdrsize + pad + 4))) in hfi1_uc_rcv() 493 tlen -= (hdrsize + extra_bytes); in hfi1_uc_rcv() 515 if (unlikely(tlen < (hdrsize + pad + 4))) in hfi1_uc_rcv() 518 tlen -= (hdrsize + extra_bytes); in hfi1_uc_rcv()
|
| H A D | rc.c | 2318 u16 hdrsize = packet->hlen; in rc_rcv_resp() local 2388 if (unlikely(tlen != (hdrsize + pmtu + extra_bytes))) in rc_rcv_resp() 2425 if (unlikely(tlen < (hdrsize + extra_bytes))) in rc_rcv_resp() 2447 if (unlikely(tlen <= (hdrsize + extra_bytes))) in rc_rcv_resp() 2450 tlen -= hdrsize + extra_bytes; in rc_rcv_resp() 2773 u32 hdrsize = packet->hlen; in hfi1_rc_rcv() local 2872 if (unlikely(tlen != (hdrsize + pmtu + extra_bytes))) in hfi1_rc_rcv() 2926 if (unlikely(tlen < (hdrsize + extra_bytes))) in hfi1_rc_rcv() 2929 tlen -= (hdrsize + extra_bytes); in hfi1_rc_rcv()
|
| H A D | ud.c | 810 u32 hdrsize = packet->hlen; in hfi1_ud_rcv() local 861 if (unlikely(tlen < (hdrsize + extra_bytes))) in hfi1_ud_rcv() 864 tlen -= hdrsize + extra_bytes; in hfi1_ud_rcv()
|
| /linux/scripts/dtc/libfdt/ |
| H A D | fdt_sw.c | 111 const int hdrsize = FDT_ALIGN(sizeof(struct fdt_header), in fdt_create_with_flags() local 115 if (bufsize < hdrsize) in fdt_create_with_flags() 136 fdt_set_off_mem_rsvmap(fdt, hdrsize); in fdt_create_with_flags()
|
| /linux/net/sched/ |
| H A D | act_ct.c | 518 size_t hdrsize; in tcf_ct_flow_table_fill_tuple_ipv4() local 534 hdrsize = sizeof(struct tcphdr); in tcf_ct_flow_table_fill_tuple_ipv4() 537 hdrsize = sizeof(*ports); in tcf_ct_flow_table_fill_tuple_ipv4() 541 hdrsize = sizeof(struct gre_base_hdr); in tcf_ct_flow_table_fill_tuple_ipv4() 551 if (!pskb_network_may_pull(skb, thoff + hdrsize)) in tcf_ct_flow_table_fill_tuple_ipv4() 591 size_t hdrsize; in tcf_ct_flow_table_fill_tuple_ipv6() local 603 hdrsize = sizeof(struct tcphdr); in tcf_ct_flow_table_fill_tuple_ipv6() 606 hdrsize = sizeof(*ports); in tcf_ct_flow_table_fill_tuple_ipv6() 610 hdrsize = sizeof(struct gre_base_hdr); in tcf_ct_flow_table_fill_tuple_ipv6() 620 if (!pskb_network_may_pull(skb, thoff + hdrsize)) in tcf_ct_flow_table_fill_tuple_ipv6() [all...] |
| /linux/fs/smb/client/ |
| H A D | netlink.c | 48 .hdrsize = 0,
|
| /linux/fs/quota/ |
| H A D | netlink.c | 18 .hdrsize = 0,
|
| /linux/net/smc/ |
| H A D | smc_netlink.c | 137 .hdrsize = 0,
|
| /linux/net/ipv6/ila/ |
| H A D | ila_main.c | 47 .hdrsize = 0,
|
| /linux/drivers/scsi/aacraid/ |
| H A D | comminit.c | 370 unsigned long hdrsize = (sizeof(u32) * NUMBER_OF_COMM_QUEUES) * 2; in aac_comm_init() local 389 size = hdrsize + queuesize; in aac_comm_init() 394 queues = (struct aac_entry *)(((ulong)headers) + hdrsize); in aac_comm_init()
|
| /linux/net/ieee802154/ |
| H A D | netlink.c | 127 .hdrsize = 0,
|
| /linux/drivers/net/wireless/broadcom/b43/ |
| H A D | dma.c | 1202 size_t hdrsize = b43_txhdr_size(ring->dev); in dma_tx_fragment() local 1217 header = &(ring->txhdr_cache[(slot / TX_SLOTS_PER_FRAME) * hdrsize]); in dma_tx_fragment() 1228 hdrsize, 1); in dma_tx_fragment() 1229 if (b43_dma_mapping_error(ring, meta_hdr->dmaaddr, hdrsize, 1)) { in dma_tx_fragment() 1235 hdrsize, 1, 0, 0); in dma_tx_fragment() 1284 hdrsize, 1); in dma_tx_fragment()
|
| /linux/net/tipc/ |
| H A D | netlink.c | 290 .hdrsize = 0,
|
| /linux/include/linux/ |
| H A D | pe.h | 250 uint16_t hdrsize; /* header size in "paragraphs" */ member
|
| H A D | genl_magic_func.h | 291 .hdrsize = NLA_ALIGN(GENL_MAGIC_FAMILY_HDRSZ),
|
| /linux/net/netlabel/ |
| H A D | netlabel_calipso.c | 364 .hdrsize = 0,
|
| /linux/net/core/ |
| H A D | drop_monitor.c | 564 size = nlmsg_msg_size(GENL_HDRLEN + net_drop_monitor_family.hdrsize); in net_dm_packet_report_size() 758 size = nlmsg_msg_size(GENL_HDRLEN + net_drop_monitor_family.hdrsize); in net_dm_hw_packet_report_size() 1658 .hdrsize = 0,
|
| /linux/net/openvswitch/ |
| H A D | datapath.c | 739 .hdrsize = sizeof(struct ovs_header), 1564 .hdrsize = sizeof(struct ovs_header), 2112 .hdrsize = sizeof(struct ovs_header), 2609 .hdrsize = sizeof(struct ovs_header),
|
| /linux/net/hsr/ |
| H A D | hsr_netlink.c | 552 .hdrsize = 0,
|