/linux-4.1.27/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 | iptable_raw.c | 30 ip_hdrlen(skb) < sizeof(struct iphdr))) in iptable_raw_hook()
|
D | iptable_security.c | 47 ip_hdrlen(skb) < sizeof(struct iphdr))) in iptable_security_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_filter.c | 43 ip_hdrlen(skb) < sizeof(struct iphdr))) in iptable_filter_hook()
|
D | iptable_mangle.c | 52 ip_hdrlen(skb) < sizeof(struct iphdr)) in ipt_mangle_out()
|
D | nf_conntrack_proto_icmp.c | 143 skb_network_offset(skb) + ip_hdrlen(skb) in icmp_error_message() 188 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 | 325 thoff = ip_hdrlen(skb); in ipv4_synproxy_hook()
|
D | ip_tables.c | 317 acpar.thoff = ip_hdrlen(skb); in ipt_do_table()
|
/linux-4.1.27/include/net/netfilter/ |
D | nf_tables_ipv4.h | 19 pkt->xt.thoff = ip_hdrlen(pkt->skb); in nft_set_pktinfo_ipv4()
|
/linux-4.1.27/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 | 342 ihl = ip_hdrlen(skb); in ip_frag_queue() 544 ihlen = ip_hdrlen(head); in ip_frag_reasm()
|
D | ipmr.c | 956 const int ihl = ip_hdrlen(pkt); in ipmr_cache_report()
|
/linux-4.1.27/net/sched/ |
D | em_ipset.c | 67 acpar.thoff = ip_hdrlen(skb); in em_ipset_match()
|
/linux-4.1.27/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() 161 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() 301 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.1.27/net/ipv6/netfilter/ |
D | ip6table_mangle.c | 45 ip_hdrlen(skb) < sizeof(struct iphdr)) { in ip6t_mangle_out()
|
/linux-4.1.27/net/netfilter/ipset/ |
D | ip_set_getport.c | 101 unsigned int protooff = ip_hdrlen(skb); in ip_set_get_ip4_port()
|
/linux-4.1.27/net/netfilter/ipvs/ |
D | ip_vs_proto_sctp.c | 185 sctphoff = ip_hdrlen(skb); in sctp_csum_check() 378 ihl = cp->af == AF_INET ? ip_hdrlen(skb) : sizeof(struct ipv6hdr); in set_sctp_state() 380 ihl = ip_hdrlen(skb); in set_sctp_state()
|
D | ip_vs_app.c | 369 const unsigned int tcp_offset = ip_hdrlen(skb); in app_tcp_pkt_out() 444 const unsigned int tcp_offset = ip_hdrlen(skb); in app_tcp_pkt_in()
|
D | ip_vs_proto_tcp.c | 297 tcphoff = ip_hdrlen(skb); in tcp_csum_check() 553 int ihl = cp->af == AF_INET ? ip_hdrlen(skb) : sizeof(struct ipv6hdr); in tcp_state_transition() 555 int ihl = ip_hdrlen(skb); in tcp_state_transition()
|
D | ip_vs_proto_udp.c | 301 udphoff = ip_hdrlen(skb); in udp_csum_check()
|
/linux-4.1.27/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.1.27/net/bridge/ |
D | br_multicast.c | 1575 if (!pskb_may_pull(skb, ip_hdrlen(skb))) in br_multicast_ipv4_rcv() 1590 if (skb->len < len || len < ip_hdrlen(skb)) in br_multicast_ipv4_rcv() 1603 len -= ip_hdrlen(skb2); in br_multicast_ipv4_rcv() 1604 offset = skb_network_offset(skb2) + ip_hdrlen(skb2); in br_multicast_ipv4_rcv()
|
/linux-4.1.27/include/net/ |
D | ip.h | 52 static inline unsigned int ip_hdrlen(const struct sk_buff *skb) in ip_hdrlen() function
|
/linux-4.1.27/net/openvswitch/ |
D | flow.c | 205 ip_len = ip_hdrlen(skb); in check_iphdr()
|
/linux-4.1.27/drivers/net/ethernet/apm/xgene/ |
D | xgene_enet_main.c | 214 l3hlen = ip_hdrlen(skb) >> 2; in xgene_enet_work_msg()
|
/linux-4.1.27/drivers/net/ethernet/intel/fm10k/ |
D | fm10k_main.c | 707 int hlen = ip_hdrlen(skb); in fm10k_gre_is_nvgre()
|
/linux-4.1.27/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.1.27/drivers/net/ethernet/pasemi/ |
D | pasemi_mac.c | 277 ip_len = ip_hdrlen(skb); in get_skb_hdr()
|
/linux-4.1.27/net/core/ |
D | skbuff.c | 3880 off = ip_hdrlen(skb); in skb_checksum_setup_ipv4()
|
/linux-4.1.27/drivers/infiniband/hw/nes/ |
D | nes_hw.c | 1654 ip_len = ip_hdrlen(skb); in nes_lro_get_skb_hdr()
|
/linux-4.1.27/drivers/net/ethernet/marvell/ |
D | sky2.c | 1881 mss += ETH_HLEN + ip_hdrlen(skb) + tcp_hdrlen(skb); in sky2_xmit_frame()
|