/linux-4.4.14/net/ipv4/netfilter/ |
D | nf_reject_ipv4.c | 28 oth = skb_header_pointer(oldskb, ip_hdrlen(oldskb), in nf_reject_ip_tcphdr_get() 38 if (nf_ip_checksum(oldskb, hook, ip_hdrlen(oldskb), IPPROTO_TCP)) in nf_reject_ip_tcphdr_get() 87 oldskb->len - ip_hdrlen(oldskb) - in nf_reject_ip_tcphdr_put() 187 if (nf_ip_checksum(skb_in, hook, ip_hdrlen(skb_in), proto) == 0) in nf_send_unreach()
|
D | ipt_ECN.c | 54 tcph = skb_header_pointer(skb, ip_hdrlen(skb), sizeof(_tcph), &_tcph); in set_ect_tcp() 64 if (!skb_make_writable(skb, ip_hdrlen(skb) + sizeof(*tcph))) in set_ect_tcp() 66 tcph = (void *)ip_hdr(skb) + ip_hdrlen(skb); in set_ect_tcp()
|
D | nf_nat_l3proto_ipv4.c | 139 ip_hdrlen(skb); in nf_nat_ipv4_csum_recalc() 201 unsigned int hdrlen = ip_hdrlen(skb); in nf_nat_icmp_reply_translation() 384 ip_hdrlen(skb) < sizeof(struct iphdr)) in nf_nat_ipv4_out() 424 ip_hdrlen(skb) < sizeof(struct iphdr)) in nf_nat_ipv4_local_fn()
|
D | nft_chain_route_ipv4.c | 37 ip_hdrlen(skb) < sizeof(struct iphdr)) in nf_route_table_hook()
|
D | nf_conntrack_l3proto_ipv4.c | 118 return helper->help(skb, skb_network_offset(skb) + ip_hdrlen(skb), in ipv4_helper() 136 if (!nf_ct_seq_adjust(skb, ct, ctinfo, ip_hdrlen(skb))) { in ipv4_confirm() 159 ip_hdrlen(skb) < sizeof(struct iphdr)) in ipv4_conntrack_local()
|
D | iptable_security.c | 45 ip_hdrlen(skb) < sizeof(struct iphdr))) in iptable_security_hook()
|
D | iptable_raw.c | 28 ip_hdrlen(skb) < sizeof(struct iphdr))) in iptable_raw_hook()
|
D | iptable_filter.c | 41 ip_hdrlen(skb) < sizeof(struct iphdr))) in iptable_filter_hook()
|
D | iptable_mangle.c | 51 ip_hdrlen(skb) < sizeof(struct iphdr)) in ipt_mangle_out()
|
D | nf_conntrack_proto_icmp.c | 145 skb_network_offset(skb) + ip_hdrlen(skb) in icmp_error_message() 190 icmph = skb_header_pointer(skb, ip_hdrlen(skb), sizeof(_ih), &_ih); in icmp_error()
|
D | nf_nat_h323.c | 50 th = skb_header_pointer(skb, ip_hdrlen(skb), in set_addr() 54 *data = skb->data + ip_hdrlen(skb) + th->doff * 4 + dataoff; in set_addr() 65 *data = skb->data + ip_hdrlen(skb) + sizeof(struct udphdr); in set_addr()
|
D | ipt_SYNPROXY.c | 330 thoff = ip_hdrlen(skb); in ipv4_synproxy_hook()
|
D | ip_tables.c | 316 acpar.thoff = ip_hdrlen(skb); in ipt_do_table()
|
/linux-4.4.14/include/net/netfilter/ |
D | nf_tables_ipv4.h | 18 pkt->xt.thoff = ip_hdrlen(pkt->skb); in nft_set_pktinfo_ipv4()
|
/linux-4.4.14/net/ipv4/ |
D | ah4.c | 127 int ihl = ip_hdrlen(skb); in ah_output_done() 172 ihl = ip_hdrlen(skb); in ah_output() 270 int ihl = ip_hdrlen(skb); in ah_input_done() 354 ihl = ip_hdrlen(skb); in ah_input()
|
D | ip_fragment.c | 359 ihl = ip_hdrlen(skb); in ip_frag_queue() 565 ihlen = ip_hdrlen(head); in ip_frag_reasm()
|
D | igmp.c | 1373 if (iph->version != 4 || ip_hdrlen(skb) < sizeof(*iph)) in ip_mc_check_iphdr() 1376 offset += ip_hdrlen(skb) - sizeof(*iph); in ip_mc_check_iphdr() 1460 transport_len = ntohs(ip_hdr(skb)->tot_len) - ip_hdrlen(skb); in __ip_mc_check_igmp()
|
D | ipmr.c | 947 const int ihl = ip_hdrlen(pkt); in ipmr_cache_report()
|
/linux-4.4.14/net/sched/ |
D | em_ipset.c | 67 acpar.thoff = ip_hdrlen(skb); in em_ipset_match()
|
/linux-4.4.14/net/netfilter/ |
D | xt_TCPOPTSTRIP.c | 94 return tcpoptstrip_mangle_packet(skb, par, ip_hdrlen(skb), in tcpoptstrip_tg4()
|
D | xt_osf.c | 208 tcp = skb_header_pointer(skb, ip_hdrlen(skb), sizeof(struct tcphdr), &_tcph); in xt_osf_match_packet() 222 _optp = optp = skb_header_pointer(skb, ip_hdrlen(skb) + in xt_osf_match_packet()
|
D | xt_socket.c | 46 unsigned int outside_hdrlen = ip_hdrlen(skb); in extract_icmp4_fields() 162 hp = skb_header_pointer(skb, ip_hdrlen(skb), in xt_socket_lookup_slow_v4()
|
D | xt_TPROXY.c | 259 hp = skb_header_pointer(skb, ip_hdrlen(skb), sizeof(_hdr), &_hdr); in tproxy_handle_time_wait4() 300 hp = skb_header_pointer(skb, ip_hdrlen(skb), sizeof(_hdr), &_hdr); in tproxy_tg4()
|
D | nf_conntrack_seqadj.c | 68 th = (struct tcphdr *)(skb_network_header(skb) + ip_hdrlen(skb)); in nf_ct_tcp_seqadj_set()
|
/linux-4.4.14/net/ipv6/netfilter/ |
D | ip6table_mangle.c | 45 ip_hdrlen(skb) < sizeof(struct iphdr)) { in ip6t_mangle_out()
|
/linux-4.4.14/net/netfilter/ipset/ |
D | ip_set_getport.c | 101 unsigned int protooff = skb_network_offset(skb) + ip_hdrlen(skb); in ip_set_get_ip4_port()
|
/linux-4.4.14/net/netfilter/ipvs/ |
D | ip_vs_proto_sctp.c | 194 sctphoff = ip_hdrlen(skb); in sctp_csum_check() 387 ihl = cp->af == AF_INET ? ip_hdrlen(skb) : sizeof(struct ipv6hdr); in set_sctp_state() 389 ihl = ip_hdrlen(skb); in set_sctp_state()
|
D | ip_vs_app.c | 361 const unsigned int tcp_offset = ip_hdrlen(skb); in app_tcp_pkt_out() 436 const unsigned int tcp_offset = ip_hdrlen(skb); in app_tcp_pkt_in()
|
D | ip_vs_proto_tcp.c | 317 tcphoff = ip_hdrlen(skb); in tcp_csum_check() 573 int ihl = cp->af == AF_INET ? ip_hdrlen(skb) : sizeof(struct ipv6hdr); in tcp_state_transition() 575 int ihl = ip_hdrlen(skb); in tcp_state_transition()
|
D | ip_vs_proto_udp.c | 315 udphoff = ip_hdrlen(skb); in udp_csum_check()
|
/linux-4.4.14/net/bridge/netfilter/ |
D | nft_reject_bridge.c | 112 nf_ip_checksum(oldskb, hook, ip_hdrlen(oldskb), proto)) in nft_reject_br_send_v4_unreach()
|
/linux-4.4.14/include/net/ |
D | ip.h | 53 static inline unsigned int ip_hdrlen(const struct sk_buff *skb) in ip_hdrlen() function
|
/linux-4.4.14/net/openvswitch/ |
D | conntrack.c | 277 protoff = ip_hdrlen(skb); in ovs_ct_helper()
|
D | flow.c | 207 ip_len = ip_hdrlen(skb); in check_iphdr()
|
/linux-4.4.14/drivers/net/ethernet/apm/xgene/ |
D | xgene_enet_main.c | 218 hdr_len = ethhdr + ip_hdrlen(skb) + tcp_hdrlen(skb); in xgene_enet_work_msg() 249 l3hlen = ip_hdrlen(skb) >> 2; in xgene_enet_work_msg()
|
/linux-4.4.14/drivers/net/ethernet/intel/fm10k/ |
D | fm10k_main.c | 698 int hlen = ip_hdrlen(skb); in fm10k_gre_is_nvgre()
|
/linux-4.4.14/drivers/net/ethernet/ibm/ehea/ |
D | ehea_main.c | 1649 immediate_len = ETH_HLEN + ip_hdrlen(skb) + tcp_hdrlen(skb); in write_swqe2_immediate() 2004 swqe->ip_end = swqe->ip_start + ip_hdrlen(skb) - 1; in xmit_common()
|
/linux-4.4.14/drivers/net/ethernet/pasemi/ |
D | pasemi_mac.c | 277 ip_len = ip_hdrlen(skb); in get_skb_hdr()
|
/linux-4.4.14/net/core/ |
D | skbuff.c | 3880 off = ip_hdrlen(skb); in skb_checksum_setup_ipv4()
|
/linux-4.4.14/drivers/infiniband/hw/nes/ |
D | nes_hw.c | 1654 ip_len = ip_hdrlen(skb); in nes_lro_get_skb_hdr()
|
/linux-4.4.14/drivers/net/ethernet/marvell/ |
D | sky2.c | 1881 mss += ETH_HLEN + ip_hdrlen(skb) + tcp_hdrlen(skb); in sky2_xmit_frame()
|