Home
last modified time | relevance | path

Searched refs:nd_opt_hdr (Results 1 – 8 of 8) sorted by relevance

/xnu-8019.80.24/bsd/netinet6/
H A Dnd6.h836 struct nd_opt_hdr *nd_opt_array[26]; /* max = Route information option */
838 struct nd_opt_hdr *zero;
839 struct nd_opt_hdr *src_lladdr;
840 struct nd_opt_hdr *tgt_lladdr;
844 struct nd_opt_hdr *__res6;
845 struct nd_opt_hdr *__res7;
846 struct nd_opt_hdr *__res8;
847 struct nd_opt_hdr *__res9;
848 struct nd_opt_hdr *__res10;
849 struct nd_opt_hdr *__res11;
[all …]
H A Dnd6_nbr.c608 maxlen += (sizeof(struct nd_opt_hdr) + ifp->if_addrlen + 7) & ~7; in nd6_ns_output()
808 int optlen = sizeof(struct nd_opt_hdr) + ifp->if_addrlen; in nd6_ns_output()
809 struct nd_opt_hdr *nd_opt = (struct nd_opt_hdr *)(nd_ns + 1); in nd6_ns_output()
828 int optlen = sizeof(struct nd_opt_hdr) + ND_OPT_NONCE_LEN; in nd6_ns_output()
829 struct nd_opt_hdr *nd_opt = (struct nd_opt_hdr *)(nd_ns + 1); in nd6_ns_output()
1421 maxlen += (sizeof(struct nd_opt_hdr) + ifp->if_addrlen + 7) & ~7; in nd6_na_output()
1546 int optlen = sizeof(struct nd_opt_hdr) + ifp->if_addrlen; in nd6_na_output()
1547 struct nd_opt_hdr *nd_opt = (struct nd_opt_hdr *)(nd_na + 1); in nd6_na_output()
H A Dnd6_rtr.c472 struct nd_opt_hdr *rt = NULL; in nd6_ra_input()
479 for (rt = (struct nd_opt_hdr *)ndopts.nd_opts_rti; in nd6_ra_input()
480 rt <= (struct nd_opt_hdr *)ndopts.nd_opts_rti_end; in nd6_ra_input()
481 rt = (struct nd_opt_hdr *)((caddr_t)rt + in nd6_ra_input()
641 struct nd_opt_hdr *pt; in nd6_ra_input()
645 for (pt = (struct nd_opt_hdr *)ndopts.nd_opts_pi; in nd6_ra_input()
646 pt <= (struct nd_opt_hdr *)ndopts.nd_opts_pi_end; in nd6_ra_input()
647 pt = (struct nd_opt_hdr *)((caddr_t)pt + in nd6_ra_input()
H A Dnd6.c596 ndopts->nd_opts_search = (struct nd_opt_hdr *)opt; in nd6_option_init()
598 (struct nd_opt_hdr *)(((u_char *)opt) + icmp6len); in nd6_option_init()
609 struct nd_opt_hdr *
612 struct nd_opt_hdr *nd_opt; in nd6_option()
646 ndopts->nd_opts_search = (struct nd_opt_hdr *)((caddr_t)nd_opt + olen); in nd6_option()
667 struct nd_opt_hdr *nd_opt; in nd6_options()
H A Dicmp6.c2814 ((sizeof(struct nd_opt_hdr) + ifp->if_addrlen + 7) & ~7)) { in icmp6_redirect_output()
2894 struct nd_opt_hdr *nd_opt; in icmp6_redirect_output()
2917 nd_opt = (struct nd_opt_hdr *)p; in icmp6_redirect_output()
/xnu-8019.80.24/tests/
H A Dnet_bridge.c1334 #define LINKADDR_OPT_LEN (ALIGN_ND_OPT(sizeof(struct nd_opt_hdr) + \
1354 struct nd_opt_hdr * nd_opt; in ethernet_nd6_frame_populate()
1389 nd_opt = (struct nd_opt_hdr *)(nd_ns + 1); in ethernet_nd6_frame_populate()
1410 nd_opt = (struct nd_opt_hdr *)(nd_na + 1); in ethernet_nd6_frame_populate()
1427 nd_opt = (struct nd_opt_hdr *)(nd_rs + 1); in ethernet_nd6_frame_populate()
2712 const struct nd_opt_hdr * nd_opt; in validate_mac_nat_nd6()
2721 nd_opt = (const struct nd_opt_hdr *)(const void *)(ptr + nd_hdr_size); in validate_mac_nat_nd6()
/xnu-8019.80.24/bsd/netinet/
H A Dicmp6.h328 struct nd_opt_hdr { /* Neighbor discovery option header */ struct
/xnu-8019.80.24/bsd/net/
H A Dif_bridge.c8035 #define ETHER_ND_LLADDR_LEN (ETHER_ADDR_LEN + sizeof(struct nd_opt_hdr))