Searched refs:ipv6h (Results 1 – 2 of 2) sorted by relevance
22 static inline __u8 ipv6_get_dsfield(const struct ipv6hdr *ipv6h) in ipv6_get_dsfield() argument24 return ntohs(*(__force const __be16 *)ipv6h) >> 4; in ipv6_get_dsfield()44 static inline void ipv6_change_dsfield(struct ipv6hdr *ipv6h,__u8 mask, in ipv6_change_dsfield() argument47 __be16 *p = (__force __be16 *)ipv6h; in ipv6_change_dsfield()
81 struct ipv6hdr *ipv6h = ipv6_hdr(skb); in tcp_v6_gso_csum_prep() local84 ipv6h->payload_len = 0; in tcp_v6_gso_csum_prep()85 th->check = ~tcp_v6_check(0, &ipv6h->saddr, &ipv6h->daddr, 0); in tcp_v6_gso_csum_prep()