Home
last modified time | relevance | path

Searched refs:sip6 (Results 1 – 2 of 2) sorted by relevance

/xnu-11215.1.10/bsd/skywalk/nexus/flowswitch/flow/
H A Dflow_agg.c1101 struct ip6_hdr *sip6 = (struct ip6_hdr *)(void *)sl3_hdr; in can_agg_slowpath() local
1105 ASSERT((sip6->ip6_vfc & IPV6_VERSION_MASK) == IPV6_VERSION); in can_agg_slowpath()
1107 ASSERT(IS_P2ALIGNED(sip6, sizeof(uint16_t))); in can_agg_slowpath()
1123 if (memcmp((uint8_t *)&sip6->ip6_flow, (uint8_t *)&ip6->ip6_flow, in can_agg_slowpath()
1124 sizeof(sip6->ip6_flow)) != 0) { in can_agg_slowpath()
1127 ntohl(sip6->ip6_flow), uint32_t, in can_agg_slowpath()
1132 if (sip6->ip6_hlim != ip6->ip6_hlim) { in can_agg_slowpath()
1134 DTRACE_SKYWALK2(aggr__fail9, uint8_t, sip6->ip6_hlim, in can_agg_slowpath()
1139 sl3tlen = (sizeof(struct ip6_hdr) + ntohs(sip6->ip6_plen)); in can_agg_slowpath()
1363 struct ip6_hdr *sip6 = (struct ip6_hdr *)(void *)sl3_hdr; in flow_agg_merge_hdr() local
[all …]
/xnu-11215.1.10/bsd/netinet6/
H A Dicmp6.c2753 struct ip6_hdr *__single sip6; /* m0 as struct ip6_hdr */ in icmp6_redirect_output() local
2794 sip6 = mtod(m0, struct ip6_hdr *); in icmp6_redirect_output()
2798 src_sa.sin6_addr = sip6->ip6_src; in icmp6_redirect_output()
2800 src_sa.sin6_scope_id = in6_addr2scopeid(ifp, &sip6->ip6_src); in icmp6_redirect_output()
2809 if (IN6_IS_ADDR_MULTICAST(&sip6->ip6_dst)) { in icmp6_redirect_output()
2813 if (icmp6_ratelimit(&sip6->ip6_src, ND_REDIRECT, 0)) { in icmp6_redirect_output()
2878 bcopy(&sip6->ip6_src, &ip6->ip6_dst, sizeof(struct in6_addr)); in icmp6_redirect_output()
2895 bcopy(&sip6->ip6_dst, &nd_rd->nd_rd_dst, in icmp6_redirect_output()
2899 bcopy(&sip6->ip6_dst, &nd_rd->nd_rd_target, in icmp6_redirect_output()
2901 bcopy(&sip6->ip6_dst, &nd_rd->nd_rd_dst, in icmp6_redirect_output()
[all …]