Home
last modified time | relevance | path

Searched refs:b_hdr (Results 1 – 3 of 3) sorted by relevance

/linux/net/mpls/
A Dmpls_iptunnel.c267 struct mpls_iptunnel_encap *b_hdr = mpls_lwtunnel_encap(b); in mpls_encap_cmp() local
270 if (a_hdr->labels != b_hdr->labels || in mpls_encap_cmp()
271 a_hdr->ttl_propagate != b_hdr->ttl_propagate || in mpls_encap_cmp()
272 a_hdr->default_ttl != b_hdr->default_ttl) in mpls_encap_cmp()
276 if (a_hdr->label[l] != b_hdr->label[l]) in mpls_encap_cmp()
/linux/net/ipv6/
A Drpl_iptunnel.c337 struct rpl_iptunnel_encap *b_hdr = rpl_encap_lwtunnel(b); in rpl_encap_cmp() local
340 if (len != RPL_IPTUNNEL_SRH_SIZE(b_hdr->srh)) in rpl_encap_cmp()
343 return memcmp(a_hdr, b_hdr, len); in rpl_encap_cmp()
A Dseg6_iptunnel.c578 struct seg6_iptunnel_encap *b_hdr = seg6_encap_lwtunnel(b); in seg6_encap_cmp() local
581 if (len != SEG6_IPTUN_ENCAP_SIZE(b_hdr)) in seg6_encap_cmp()
584 return memcmp(a_hdr, b_hdr, len); in seg6_encap_cmp()

Completed in 7 milliseconds