Searched refs:a_hdr (Results 1 – 3 of 3) sorted by relevance
266 struct mpls_iptunnel_encap *a_hdr = mpls_lwtunnel_encap(a); in mpls_encap_cmp() local270 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()275 for (l = 0; l < a_hdr->labels; l++) in mpls_encap_cmp()276 if (a_hdr->label[l] != b_hdr->label[l]) in mpls_encap_cmp()
336 struct rpl_iptunnel_encap *a_hdr = rpl_encap_lwtunnel(a); in rpl_encap_cmp() local338 int len = RPL_IPTUNNEL_SRH_SIZE(a_hdr->srh); in rpl_encap_cmp()343 return memcmp(a_hdr, b_hdr, len); in rpl_encap_cmp()
716 struct seg6_iptunnel_encap *a_hdr = seg6_encap_lwtunnel(a); in seg6_encap_cmp() local718 int len = SEG6_IPTUN_ENCAP_SIZE(a_hdr); in seg6_encap_cmp()723 return memcmp(a_hdr, b_hdr, len); in seg6_encap_cmp()
Completed in 6 milliseconds