/linux/net/ipv4/netfilter/ |
H A D | nf_socket_ipv4.c | 24 unsigned int outside_hdrlen = ip_hdrlen(skb); in extract_icmp4_fields() 102 hp = skb_header_pointer(skb, ip_hdrlen(skb), in nf_sk_lookup_slow_v4() 115 ip_hdrlen(skb) + __tcp_hdrlen((struct tcphdr *)hp) : in nf_sk_lookup_slow_v4() 116 ip_hdrlen(skb) + sizeof(*hp); in nf_sk_lookup_slow_v4()
|
H A D | nf_reject_ipv4.c | 103 dataoff = ip_hdrlen(oldskb); in nf_reject_skb_v4_unreach() 108 nf_ip_checksum(oldskb, hook, ip_hdrlen(oldskb), proto)) in nf_reject_skb_v4_unreach() 151 oth = skb_header_pointer(oldskb, ip_hdrlen(oldskb), in nf_reject_ip_tcphdr_get() 161 if (nf_ip_checksum(oldskb, hook, ip_hdrlen(oldskb), IPPROTO_TCP)) in nf_reject_ip_tcphdr_get() 209 oldskb->len - ip_hdrlen(oldskb) - in nf_reject_ip_tcphdr_put() 318 int dataoff = ip_hdrlen(skb_in); in nf_send_unreach()
|
H A D | ipt_ECN.c | 51 tcph = skb_header_pointer(skb, ip_hdrlen(skb), sizeof(_tcph), &_tcph); in set_ect_tcp() 61 if (skb_ensure_writable(skb, ip_hdrlen(skb) + sizeof(*tcph))) in set_ect_tcp() 63 tcph = (void *)ip_hdr(skb) + ip_hdrlen(skb); in set_ect_tcp()
|
H A D | nf_tproxy_ipv4.c | 25 hp = skb_header_pointer(skb, ip_hdrlen(skb), sizeof(_hdr), &_hdr); in nf_tproxy_handle_time_wait4() 91 hp = skb_header_pointer(skb, ip_hdrlen(skb), in nf_tproxy_get_sock_v4() 99 ip_hdrlen(skb) + __tcp_hdrlen(hp), in nf_tproxy_get_sock_v4()
|
H A D | nf_nat_h323.c | 49 th = skb_header_pointer(skb, ip_hdrlen(skb), in set_addr() 53 *data = skb->data + ip_hdrlen(skb) + th->doff * 4 + dataoff; in set_addr() 64 *data = skb->data + ip_hdrlen(skb) + sizeof(struct udphdr); in set_addr()
|
/linux/net/ipv4/ |
H A D | ah4.c | 126 int ihl = ip_hdrlen(skb); in ah_output_done() 171 ihl = ip_hdrlen(skb); in ah_output() 271 int ihl = ip_hdrlen(skb); in ah_input_done() 358 ihl = ip_hdrlen(skb); in ah_input()
|
H A D | ip_fragment.c | 304 ihl = ip_hdrlen(skb); in ip_frag_queue() 434 len = ip_hdrlen(skb) + qp->q.len; in ip_frag_reasm()
|
/linux/drivers/net/wireless/intel/iwlwifi/mei/ |
H A D | net.c | 198 !pskb_may_pull(skb, skb_network_offset(skb) + ip_hdrlen(skb))) in iwl_mei_rx_filter_ipv4() 201 iphdrlen = ip_hdrlen(skb); in iwl_mei_rx_filter_ipv4()
|
/linux/include/net/netfilter/ |
H A D | nf_tables_ipv4.h | 15 pkt->thoff = ip_hdrlen(pkt->skb); in nft_set_pktinfo_ipv4()
|
/linux/net/sched/ |
H A D | em_ipset.c | 67 acpar.thoff = ip_hdrlen(skb); in em_ipset_match()
|
/linux/net/netfilter/ipset/ |
H A D | ip_set_getport.c | 102 unsigned int protooff = skb_network_offset(skb) + ip_hdrlen(skb); in ip_set_get_ip4_port()
|
/linux/net/netfilter/ |
H A D | xt_TCPOPTSTRIP.c | 91 return tcpoptstrip_mangle_packet(skb, par, ip_hdrlen(skb)); in tcpoptstrip_tg4()
|
H A D | nfnetlink_osf.c | 173 tcp = skb_header_pointer(skb, ip_hdrlen(skb), sizeof(struct tcphdr), _tcph); in nf_osf_hdr_ctx_init() 187 ctx->optp = skb_header_pointer(skb, ip_hdrlen(skb) + in nf_osf_hdr_ctx_init()
|
H A D | nf_conntrack_ovs.c | 37 protoff = ip_hdrlen(skb); in nf_ct_helper()
|
H A D | nft_osf.c | 36 tcp = skb_header_pointer(skb, ip_hdrlen(skb), in nft_osf_eval()
|
H A D | xt_TPROXY.c | 43 hp = skb_header_pointer(skb, ip_hdrlen(skb), sizeof(_hdr), &_hdr); in tproxy_tg4()
|
H A D | nf_conntrack_seqadj.c | 69 th = (struct tcphdr *)(skb_network_header(skb) + ip_hdrlen(skb)); in nf_ct_tcp_seqadj_set()
|
H A D | nft_tproxy.c | 39 hp = skb_header_pointer(skb, ip_hdrlen(skb), sizeof(_hdr), &_hdr); in nft_tproxy_eval_v4()
|
H A D | nf_nat_proto.c | 508 ip_hdrlen(skb); in nf_nat_ipv4_csum_recalc() 570 unsigned int hdrlen = ip_hdrlen(skb); in nf_nat_icmp_reply_translation()
|
H A D | nf_conntrack_proto.c | 163 protoff = skb_network_offset(skb) + ip_hdrlen(skb); in nf_confirm()
|
/linux/net/netfilter/ipvs/ |
H A D | ip_vs_proto_sctp.c | 199 sctphoff = ip_hdrlen(skb); in sctp_csum_check() 389 ihl = cp->af == AF_INET ? ip_hdrlen(skb) : sizeof(struct ipv6hdr); in set_sctp_state() 391 ihl = ip_hdrlen(skb); in set_sctp_state()
|
H A D | ip_vs_proto_tcp.c | 313 tcphoff = ip_hdrlen(skb); in tcp_csum_check() 595 int ihl = cp->af == AF_INET ? ip_hdrlen(skb) : sizeof(struct ipv6hdr); in tcp_state_transition() 597 int ihl = ip_hdrlen(skb); in tcp_state_transition()
|
H A D | ip_vs_app.c | 365 const unsigned int tcp_offset = ip_hdrlen(skb); in app_tcp_pkt_out() 442 const unsigned int tcp_offset = ip_hdrlen(skb); in app_tcp_pkt_in()
|
H A D | ip_vs_proto_udp.c | 310 udphoff = ip_hdrlen(skb); in udp_csum_check()
|
/linux/drivers/net/wireless/intel/iwlwifi/pcie/ |
H A D | tx-gen2.c | 169 unsigned int snap_ip_tcp_hdrlen, ip_hdrlen, total_len, hdr_room; in iwl_txq_gen2_build_amsdu() local 181 ip_hdrlen = skb_network_header_len(skb); in iwl_txq_gen2_build_amsdu() 182 snap_ip_tcp_hdrlen = 8 + ip_hdrlen + tcp_hdrlen(skb); in iwl_txq_gen2_build_amsdu()
|