Searched refs:encap_proto (Results 1 – 4 of 4) sorted by relevance
72 static __always_inline int encap_ipv4(struct __sk_buff *skb, __u8 encap_proto, in encap_ipv4() argument91 if (encap_proto == IPPROTO_IPV6) { in encap_ipv4()149 switch (encap_proto) { in encap_ipv4()194 h_outer.ip.protocol = encap_proto; in encap_ipv4()204 if (encap_proto == IPPROTO_IPV6) { in encap_ipv4()217 static __always_inline int encap_ipv6(struct __sk_buff *skb, __u8 encap_proto, in encap_ipv6() argument257 switch (encap_proto) { in encap_ipv6()302 h_outer.ip.nexthdr = encap_proto; in encap_ipv6()
57 if (hsr_V1_hdr->hsr.encap_proto != htons(ETH_P_PRP)) in is_supervision_frame()226 hsr_ethhdr->hsr_tag.encap_proto = hsr_ethhdr->ethhdr.h_proto; in hsr_fill_tag()
55 __be16 encap_proto; member
305 hsr_tag->encap_proto = htons(ETH_P_PRP); in send_hsr_supervision_frame()