Searched refs:iphdr (Results 1 – 19 of 19) sorted by relevance
/include/linux/ |
D | ip.h | 19 static inline struct iphdr *ip_hdr(const struct sk_buff *skb) in ip_hdr() 21 return (struct iphdr *)skb_network_header(skb); in ip_hdr() 24 static inline struct iphdr *inner_ip_hdr(const struct sk_buff *skb) in inner_ip_hdr() 26 return (struct iphdr *)skb_inner_network_header(skb); in inner_ip_hdr() 29 static inline struct iphdr *ipip_hdr(const struct sk_buff *skb) in ipip_hdr() 31 return (struct iphdr *)skb_transport_header(skb); in ipip_hdr()
|
D | ptp_classify.h | 45 #define IPV4_HLEN(data) (((struct iphdr *)(data + OFF_IHL))->ihl << 2)
|
/include/net/ |
D | dsfield.h | 16 static inline __u8 ipv4_get_dsfield(const struct iphdr *iph) in ipv4_get_dsfield() 28 static inline void ipv4_change_dsfield(struct iphdr *iph,__u8 mask, in ipv4_change_dsfield()
|
D | inet_ecn.h | 75 static inline int IP_ECN_set_ce(struct iphdr *iph) in IP_ECN_set_ce() 102 static inline void IP_ECN_clear(struct iphdr *iph) in IP_ECN_clear() 107 static inline void ipv4_copy_dscp(unsigned int dscp, struct iphdr *inner) in ipv4_copy_dscp() 147 if (skb_network_header(skb) + sizeof(struct iphdr) <= in INET_ECN_set_ce() 217 static inline int IP_ECN_decapsulate(const struct iphdr *oiph, in IP_ECN_decapsulate()
|
D | ip_vs.h | 71 int hdr_flags, struct ip_vs_iphdr *iphdr) in ip_vs_fill_iph_skb_off() argument 73 iphdr->hdr_flags = hdr_flags; in ip_vs_fill_iph_skb_off() 74 iphdr->off = offset; in ip_vs_fill_iph_skb_off() 84 iphdr->saddr.in6 = iph->saddr; in ip_vs_fill_iph_skb_off() 85 iphdr->daddr.in6 = iph->daddr; in ip_vs_fill_iph_skb_off() 87 iphdr->len = offset; in ip_vs_fill_iph_skb_off() 88 iphdr->flags = 0; in ip_vs_fill_iph_skb_off() 89 iphdr->protocol = ipv6_find_hdr(skb, &iphdr->len, -1, in ip_vs_fill_iph_skb_off() 90 &iphdr->fragoffs, in ip_vs_fill_iph_skb_off() 91 &iphdr->flags); in ip_vs_fill_iph_skb_off() [all …]
|
D | ip.h | 168 struct iphdr *iph; 173 void ip_fraglist_init(struct sk_buff *skb, struct iphdr *iph, 203 void ip_send_check(struct iphdr *ip); 397 static inline bool ip_is_fragment(const struct iphdr *iph) in ip_is_fragment() 408 int ip_decrease_ttl(struct iphdr *iph) in ip_decrease_ttl() 507 void __ip_select_ident(struct net *net, struct iphdr *iph, int segs); 512 struct iphdr *iph = ip_hdr(skb); in ip_select_ident_segs() 548 const struct iphdr *iph) in iph_to_flow_copy_v4addrs() 559 const struct iphdr *iph = skb_gro_network_header(skb); in inet_gro_compute_pseudo()
|
D | ip_tunnels.h | 269 const struct iphdr *tnl_params, const u8 protocol); 323 nhlen = sizeof(struct iphdr); in pskb_inet_may_pull() 374 static inline u8 ip_tunnel_get_dsfield(const struct iphdr *iph, in ip_tunnel_get_dsfield() 385 static inline u8 ip_tunnel_get_ttl(const struct iphdr *iph, in ip_tunnel_get_ttl() 397 static inline u8 ip_tunnel_ecn_encap(u8 tos, const struct iphdr *iph, in ip_tunnel_ecn_encap()
|
D | slhc_vj.h | 132 struct iphdr cs_ip; /* ip/tcp hdr from most recent packet */
|
D | dst_metadata.h | 166 const struct iphdr *iph = ip_hdr(skb); in ip_tun_rx_dst()
|
D | inet_hashtables.h | 383 const struct iphdr *iph = ip_hdr(skb); in __inet_lookup_skb()
|
D | tcp.h | 420 u16 tcp_v4_get_syncookie(struct sock *sk, struct iphdr *iph, 466 int __cookie_v4_check(const struct iphdr *iph, const struct tcphdr *th, 548 u32 __cookie_v4_init_sequence(const struct iphdr *iph, const struct tcphdr *th,
|
D | xfrm.h | 1573 XFRM_SPI_SKB_CB(skb)->daddroff = offsetof(struct iphdr, daddr); in xfrm4_rcv_spi()
|
/include/net/netfilter/ |
D | nf_tables_ipv4.h | 11 struct iphdr *ip; in nft_set_pktinfo_ipv4() 23 struct iphdr *iph, _iph; in __nft_set_pktinfo_ipv4_validate()
|
D | nf_queue.h | 46 static inline u32 hash_v4(const struct iphdr *iph, u32 initval) in hash_v4() 82 struct iphdr *iph, _iph; in hash_bridge()
|
/include/net/netfilter/ipv4/ |
D | nf_reject.h | 15 struct iphdr *nf_reject_iphdr_put(struct sk_buff *nskb,
|
/include/uapi/linux/netfilter/ |
D | nfnetlink_osf.h | 71 struct iphdr ip;
|
/include/uapi/linux/ |
D | ip.h | 86 struct iphdr { struct
|
D | if_tunnel.h | 55 struct iphdr iph;
|
/include/rdma/ |
D | ib_verbs.h | 768 struct iphdr roce4grh;
|