| /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()
|
| /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/net/netfilter/ |
| H A D | nf_flow_table_ip.c | 152 u32 hdrsize; member 237 ctx->hdrsize = sizeof(struct tcphdr); in nf_flow_tuple_ip() 240 ctx->hdrsize = sizeof(struct udphdr); in nf_flow_tuple_ip() 244 ctx->hdrsize = sizeof(struct gre_base_hdr); in nf_flow_tuple_ip() 254 if (!pskb_may_pull(skb, thoff + ctx->hdrsize)) in nf_flow_tuple_ip() 498 if (skb_ensure_writable(skb, thoff + ctx->hdrsize)) in nf_flow_offload_forward() 1015 ctx->hdrsize = sizeof(struct tcphdr); in nf_flow_tuple_ipv6() 1018 ctx->hdrsize = sizeof(struct udphdr); in nf_flow_tuple_ipv6() 1022 ctx->hdrsize = sizeof(struct gre_base_hdr); in nf_flow_tuple_ipv6() 1032 if (!pskb_may_pull(skb, thoff + ctx->hdrsize)) in nf_flow_tuple_ipv6() [all …]
|
| H A D | nf_nat_proto.c | 90 int hdrsize = 8; in sctp_manip_pkt() local 97 hdrsize = sizeof(*hdr); in sctp_manip_pkt() 99 if (skb_ensure_writable(skb, hdroff + hdrsize)) in sctp_manip_pkt() 112 if (hdrsize < sizeof(*hdr)) in sctp_manip_pkt() 132 int hdrsize = 8; /* TCP connection tracking guarantees this much */ in tcp_manip_pkt() local 138 hdrsize = sizeof(struct tcphdr); in tcp_manip_pkt() 140 if (skb_ensure_writable(skb, hdroff + hdrsize)) in tcp_manip_pkt() 158 if (hdrsize < sizeof(*hdr)) in tcp_manip_pkt()
|
| /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/include/net/ |
| H A D | genetlink.h | 79 unsigned int hdrsize; member 393 return __nlmsg_parse(nlh, family->hdrsize + GENL_HDRLEN, tb, maxtype, in genlmsg_parse_deprecated() 412 return __nlmsg_parse(nlh, family->hdrsize + GENL_HDRLEN, tb, maxtype, in genlmsg_parse()
|
| /linux/drivers/s390/crypto/ |
| H A D | zcrypt_ep11misc.c | 64 size_t hdrsize, plsize = 0; in ep11_kb_split() local 75 hdrsize = 0; in ep11_kb_split() 80 hdrsize = sizeof(struct ep11kblob_header); in ep11_kb_split() 86 plsize = kblen - hdrsize; in ep11_kb_split() 87 pl = (u8 *)kb + hdrsize; in ep11_kb_split() 92 *kbhdrsize = hdrsize; in ep11_kb_split() 108 size_t hdrsize = 0, plsize = 0; in ep11_kb_decode() local 122 &hdr, &hdrsize, &tmpp, &plsize)) in ep11_kb_decode() 132 plsize = hdr->len - hdrsize; in ep11_kb_decode() 137 *kbhdrsize = hdrsize; in ep11_kb_decode()
|
| /linux/net/sched/ |
| H A D | act_ct.c | 524 size_t hdrsize; in tcf_ct_flow_table_fill_tuple_ipv4() local 540 hdrsize = sizeof(struct tcphdr); in tcf_ct_flow_table_fill_tuple_ipv4() 543 hdrsize = sizeof(*ports); in tcf_ct_flow_table_fill_tuple_ipv4() 547 hdrsize = sizeof(struct gre_base_hdr); in tcf_ct_flow_table_fill_tuple_ipv4() 557 if (!pskb_network_may_pull(skb, thoff + hdrsize)) in tcf_ct_flow_table_fill_tuple_ipv4() 597 size_t hdrsize; in tcf_ct_flow_table_fill_tuple_ipv6() local 609 hdrsize = sizeof(struct tcphdr); in tcf_ct_flow_table_fill_tuple_ipv6() 612 hdrsize = sizeof(*ports); in tcf_ct_flow_table_fill_tuple_ipv6() 616 hdrsize = sizeof(struct gre_base_hdr); in tcf_ct_flow_table_fill_tuple_ipv6() 626 if (!pskb_network_may_pull(skb, thoff + hdrsize)) in tcf_ct_flow_table_fill_tuple_ipv6()
|
| /linux/fs/smb/client/ |
| H A D | netlink.c | 52 .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/include/linux/sunrpc/ |
| H A D | clnt.h | 211 unsigned int hdrsize);
|
| /linux/net/tipc/ |
| H A D | netlink.c | 306 .hdrsize = 0,
|
| /linux/include/linux/ |
| H A D | pe.h | 250 uint16_t hdrsize; /* header size in "paragraphs" */ member
|
| /linux/fs/xfs/scrub/ |
| H A D | attr_repair.c | 404 unsigned int hdrsize; in xrep_xattr_recover_leaf() local 413 hdrsize = xfs_attr3_leaf_hdr_size(leaf); in xrep_xattr_recover_leaf() 414 xchk_xattr_set_map(sc, ab->usedmap, 0, hdrsize); in xrep_xattr_recover_leaf()
|
| /linux/net/netlabel/ |
| H A D | netlabel_calipso.c | 364 .hdrsize = 0,
|
| /linux/net/core/ |
| H A D | drop_monitor.c | 563 size = nlmsg_msg_size(GENL_HDRLEN + net_drop_monitor_family.hdrsize); in net_dm_packet_report_size() 755 size = nlmsg_msg_size(GENL_HDRLEN + net_drop_monitor_family.hdrsize); in net_dm_hw_packet_report_size() 1653 .hdrsize = 0,
|
| /linux/net/ipv6/ |
| H A D | seg6.c | 495 .hdrsize = 0,
|
| /linux/net/hsr/ |
| H A D | hsr_netlink.c | 556 .hdrsize = 0,
|