Searched refs:ip6_ext (Results 1 – 11 of 11) sorted by relevance
101 struct ip6_ext *eh = (struct ip6_ext *)CMSG_DATA(cmsg); in inet6_option_append()170 struct ip6_ext *eh = (struct ip6_ext *)CMSG_DATA(cmsg); in inet6_option_alloc()229 struct ip6_ext *ip6e; in inet6_option_next()239 if (cmsg->cmsg_len < CMSG_SPACE(sizeof(struct ip6_ext))) in inet6_option_next()241 ip6e = (struct ip6_ext *)CMSG_DATA(cmsg); in inet6_option_next()285 struct ip6_ext *ip6e; in inet6_option_find()295 if (cmsg->cmsg_len < CMSG_SPACE(sizeof(struct ip6_ext))) in inet6_option_find()297 ip6e = (struct ip6_ext *)CMSG_DATA(cmsg); in inet6_option_find()379 struct ip6_ext *ext = (struct ip6_ext *)extbuf; in inet6_opt_init()
1217 struct ip6_ext *ip6e = NULL; in ip6_savecontrol()1240 ip6e = (struct ip6_ext *)(mtod(m, caddr_t) + off); in ip6_savecontrol()1253 ip6e = mtod(ext, struct ip6_ext *); in ip6_savecontrol()1370 struct ip6_ext ip6e; in ip6_pullexthdr()1429 struct ip6_ext *ip6e = NULL; in ip6_get_prevhdr()1434 ip6e = (struct ip6_ext *)(mtod(m, caddr_t) + len); in ip6_get_prevhdr()1463 struct ip6_ext ip6e; in ip6_nexthdr()
892 struct ip6_ext *hdr = h; in copyexthdr()1917 struct ip6_ext *ip6e; in ip6_getpcbopt()1945 ip6e = (struct ip6_ext *)pktopt->ip6po_hbh; in ip6_getpcbopt()1952 ip6e = (struct ip6_ext *)pktopt->ip6po_rthdr; in ip6_getpcbopt()1959 ip6e = (struct ip6_ext *)pktopt->ip6po_dest1; in ip6_getpcbopt()1966 ip6e = (struct ip6_ext *)pktopt->ip6po_dest2; in ip6_getpcbopt()2097 int hlen = (((struct ip6_ext *)src->type)->ip6e_len + 1) << 3;\3094 (((struct ip6_ext *)(x)) ? (((struct ip6_ext *)(x))->ip6e_len + 1) << 3 : 0) in ip6_optlen()
885 struct ip6_ext *eh; in icmp6_notify_error()893 eoff + sizeof(struct ip6_ext), -1); in icmp6_notify_error()894 eh = (struct ip6_ext *) in icmp6_notify_error()897 IP6_EXTHDR_GET(eh, struct ip6_ext *, m, in icmp6_notify_error()
1136 hlen = (((struct ip6_ext *)cp)->ip6e_len + 2) << 2; in get_uphdr()1137 nh = ((struct ip6_ext *)cp)->ip6e_nxt; in get_uphdr()1140 hlen = (((struct ip6_ext *)cp)->ip6e_len + 1) << 3; in get_uphdr()1141 nh = ((struct ip6_ext *)cp)->ip6e_nxt; in get_uphdr()
106 struct ip6_ext { struct
124 struct ip6_ext { struct
247 struct ip6_ext *ip6e; in ip6opts_match()257 ip6e = (struct ip6_ext *)((caddr_t) ip6 + *off); in ip6opts_match()
2179 struct ip6_ext *ip6e = NULL; in oce_check_ipv6_ext_hdr()2182 ip6e = (struct ip6_ext *) mtod(m, struct ip6_ext *); in oce_check_ipv6_ext_hdr()
1121 struct ip6_ext ext; in pf_normalize_ip6()
5366 struct ip6_ext opt6; in pf_test_state_icmp()6985 struct ip6_ext opt6; in pf_test6()