Home
last modified time | relevance | path

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

/linux-6.3-rc2/net/mpls/
A Dmpls_iptunnel.c266 struct mpls_iptunnel_encap *a_hdr = mpls_lwtunnel_encap(a); 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()
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()
/linux-6.3-rc2/net/ipv6/
A Drpl_iptunnel.c336 struct rpl_iptunnel_encap *a_hdr = rpl_encap_lwtunnel(a); in rpl_encap_cmp() local
338 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()
A Dseg6_iptunnel.c716 struct seg6_iptunnel_encap *a_hdr = seg6_encap_lwtunnel(a); in seg6_encap_cmp() local
718 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