Searched refs:nd_opt_hdr (Results 1 – 8 of 8) sorted by relevance
848 struct nd_opt_hdr *nd_opt_array[26]; /* max = Route information option */850 struct nd_opt_hdr *zero;851 struct nd_opt_hdr *src_lladdr;852 struct nd_opt_hdr *tgt_lladdr;856 struct nd_opt_hdr *__res6;857 struct nd_opt_hdr *__res7;858 struct nd_opt_hdr *__res8;859 struct nd_opt_hdr *__res9;860 struct nd_opt_hdr *__res10;861 struct nd_opt_hdr *__res11;[all …]
616 maxlen += (sizeof(struct nd_opt_hdr) + ifp->if_addrlen + 7) & ~7; in nd6_ns_output()816 int optlen = sizeof(struct nd_opt_hdr) + ifp->if_addrlen; in nd6_ns_output()817 struct nd_opt_hdr *nd_opt = (struct nd_opt_hdr *)(nd_ns + 1); in nd6_ns_output()836 int optlen = sizeof(struct nd_opt_hdr) + ND_OPT_NONCE_LEN; in nd6_ns_output()837 struct nd_opt_hdr *nd_opt = (struct nd_opt_hdr *)(nd_ns + 1); in nd6_ns_output()1436 maxlen += (sizeof(struct nd_opt_hdr) + ifp->if_addrlen + 7) & ~7; in nd6_na_output()1561 int optlen = sizeof(struct nd_opt_hdr) + ifp->if_addrlen; in nd6_na_output()1562 struct nd_opt_hdr *nd_opt = (struct nd_opt_hdr *)(nd_na + 1); in nd6_na_output()
471 struct nd_opt_hdr *rt = NULL; in nd6_ra_input()478 for (rt = (struct nd_opt_hdr *)ndopts.nd_opts_rti; in nd6_ra_input()479 rt <= (struct nd_opt_hdr *)ndopts.nd_opts_rti_end; in nd6_ra_input()480 rt = (struct nd_opt_hdr *)((caddr_t)rt + in nd6_ra_input()647 struct nd_opt_hdr *pt; in nd6_ra_input()651 for (pt = (struct nd_opt_hdr *)ndopts.nd_opts_pi; in nd6_ra_input()652 pt <= (struct nd_opt_hdr *)ndopts.nd_opts_pi_end; in nd6_ra_input()653 pt = (struct nd_opt_hdr *)((caddr_t)pt + in nd6_ra_input()
600 ndopts->nd_opts_search = (struct nd_opt_hdr *)opt; in nd6_option_init()602 (struct nd_opt_hdr *)(((u_char *)opt) + icmp6len); in nd6_option_init()613 struct nd_opt_hdr *616 struct nd_opt_hdr *nd_opt; in nd6_option()650 ndopts->nd_opts_search = (struct nd_opt_hdr *)((caddr_t)nd_opt + olen); in nd6_option()671 struct nd_opt_hdr *nd_opt; in nd6_options()
2840 ((sizeof(struct nd_opt_hdr) + ifp->if_addrlen + 7) & ~7)) { in icmp6_redirect_output()2920 struct nd_opt_hdr *nd_opt; in icmp6_redirect_output()2943 nd_opt = (struct nd_opt_hdr *)p; in icmp6_redirect_output()
1106 #define LINKADDR_OPT_LEN (ALIGN_ND_OPT(sizeof(struct nd_opt_hdr) + \1126 struct nd_opt_hdr * nd_opt; in ethernet_nd6_frame_populate()1161 nd_opt = (struct nd_opt_hdr *)(nd_ns + 1); in ethernet_nd6_frame_populate()1182 nd_opt = (struct nd_opt_hdr *)(nd_na + 1); in ethernet_nd6_frame_populate()1199 nd_opt = (struct nd_opt_hdr *)(nd_rs + 1); in ethernet_nd6_frame_populate()2468 const struct nd_opt_hdr * nd_opt; in validate_mac_nat_nd6()2477 nd_opt = (const struct nd_opt_hdr *)(const void *)(ptr + nd_hdr_size); in validate_mac_nat_nd6()
328 struct nd_opt_hdr { /* Neighbor discovery option header */ struct
8464 #define ETHER_ND_LLADDR_LEN (ETHER_ADDR_LEN + sizeof(struct nd_opt_hdr))