Home
last modified time | relevance | path

Searched refs:ip_hdrlen (Results 1 – 25 of 40) sorted by relevance

12

/linux/net/ipv4/netfilter/
A Dnf_socket_ipv4.c24 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()
A Dipt_ECN.c51 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()
A Dnf_reject_ipv4.c106 nf_ip_checksum(oldskb, hook, ip_hdrlen(oldskb), proto)) in nf_reject_skb_v4_unreach()
149 oth = skb_header_pointer(oldskb, ip_hdrlen(oldskb), in nf_reject_ip_tcphdr_get()
159 if (nf_ip_checksum(oldskb, hook, ip_hdrlen(oldskb), IPPROTO_TCP)) in nf_reject_ip_tcphdr_get()
207 oldskb->len - ip_hdrlen(oldskb) - in nf_reject_ip_tcphdr_put()
328 if (nf_ip_checksum(skb_in, hook, ip_hdrlen(skb_in), proto) == 0) in nf_send_unreach()
A Dnf_tproxy_ipv4.c25 hp = skb_header_pointer(skb, ip_hdrlen(skb), sizeof(_hdr), &_hdr); in nf_tproxy_handle_time_wait4()
88 hp = skb_header_pointer(skb, ip_hdrlen(skb), in nf_tproxy_get_sock_v4()
96 ip_hdrlen(skb) + in nf_tproxy_get_sock_v4()
A Dnf_nat_h323.c49 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/
A Dah4.c129 int ihl = ip_hdrlen(skb); in ah_output_done()
174 ihl = ip_hdrlen(skb); in ah_output()
274 int ihl = ip_hdrlen(skb); in ah_input_done()
361 ihl = ip_hdrlen(skb); in ah_input()
A Dip_fragment.c297 ihl = ip_hdrlen(skb); in ip_frag_queue()
424 len = ip_hdrlen(skb) + qp->q.len; in ip_frag_reasm()
/linux/include/net/netfilter/
A Dnf_tables_ipv4.h15 pkt->thoff = ip_hdrlen(pkt->skb); in nft_set_pktinfo_ipv4()
/linux/net/sched/
A Dem_ipset.c67 acpar.thoff = ip_hdrlen(skb); in em_ipset_match()
/linux/net/netfilter/ipset/
A Dip_set_getport.c102 unsigned int protooff = skb_network_offset(skb) + ip_hdrlen(skb); in ip_set_get_ip4_port()
/linux/net/netfilter/
A Dnfnetlink_osf.c173 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()
A Dxt_TCPOPTSTRIP.c91 return tcpoptstrip_mangle_packet(skb, par, ip_hdrlen(skb)); in tcpoptstrip_tg4()
A Dnft_osf.c36 tcp = skb_header_pointer(skb, ip_hdrlen(skb), in nft_osf_eval()
A Dnf_conntrack_seqadj.c69 th = (struct tcphdr *)(skb_network_header(skb) + ip_hdrlen(skb)); in nf_ct_tcp_seqadj_set()
A Dxt_TPROXY.c43 hp = skb_header_pointer(skb, ip_hdrlen(skb), sizeof(_hdr), &_hdr); in tproxy_tg4()
A Dnft_tproxy.c39 hp = skb_header_pointer(skb, ip_hdrlen(skb), sizeof(_hdr), &_hdr); in nft_tproxy_eval_v4()
A Dnf_nat_proto.c508 ip_hdrlen(skb); in nf_nat_ipv4_csum_recalc()
570 unsigned int hdrlen = ip_hdrlen(skb); in nf_nat_icmp_reply_translation()
A Dnf_conntrack_proto.c183 skb_network_offset(skb) + ip_hdrlen(skb), in ipv4_confirm()
/linux/net/netfilter/ipvs/
A Dip_vs_proto_sctp.c197 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()
A Dip_vs_proto_tcp.c313 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()
A Dip_vs_app.c365 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()
A Dip_vs_proto_udp.c310 udphoff = ip_hdrlen(skb); in udp_csum_check()
/linux/net/bridge/netfilter/
A Dnf_conntrack_bridge.c380 protoff = skb_network_offset(skb) + ip_hdrlen(skb); in nf_ct_bridge_confirm()
/linux/drivers/net/wireless/intel/iwlwifi/pcie/
A Dtx.c1299 unsigned int snap_ip_tcp_hdrlen, ip_hdrlen, total_len, hdr_room; in iwl_fill_data_tbs_amsdu() local
1316 ip_hdrlen = skb_transport_header(skb) - skb_network_header(skb); in iwl_fill_data_tbs_amsdu()
1317 snap_ip_tcp_hdrlen = 8 + ip_hdrlen + tcp_hdrlen(skb); in iwl_fill_data_tbs_amsdu()
/linux/drivers/net/wireless/intel/iwlwifi/queue/
A Dtx.c334 unsigned int snap_ip_tcp_hdrlen, ip_hdrlen, total_len, hdr_room; in iwl_txq_gen2_build_amsdu() local
344 ip_hdrlen = skb_transport_header(skb) - skb_network_header(skb); in iwl_txq_gen2_build_amsdu()
345 snap_ip_tcp_hdrlen = 8 + ip_hdrlen + tcp_hdrlen(skb); in iwl_txq_gen2_build_amsdu()

Completed in 44 milliseconds

12