Home
last modified time | relevance | path

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

/titanic_41/usr/src/cmd/cmd-inet/usr.lib/in.ndpd/
H A Dtrace.c32 static void print_opt(struct nd_opt_hdr *opt, int len);
38 struct nd_opt_hdr *opt; in print_route_sol()
47 opt = (struct nd_opt_hdr *)&rs[1]; in print_route_sol()
55 struct nd_opt_hdr *opt; in print_route_adv()
77 opt = (struct nd_opt_hdr *)&ra[1]; in print_route_adv()
82 print_opt(struct nd_opt_hdr *opt, int len) in print_opt()
91 while (len >= sizeof (struct nd_opt_hdr)) { in print_opt()
161 opt = (struct nd_opt_hdr *)((char *)opt + optlen); in print_opt()
H A Dndp.c39 static boolean_t verify_opt_len(struct nd_opt_hdr *opt, int optlen,
205 if (!verify_opt_len((struct nd_opt_hdr *)&rs[1], in in_data()
265 if (!verify_opt_len((struct nd_opt_hdr *)&ra[1], in in_data()
290 struct nd_opt_hdr *opt; in incoming_rs()
295 opt = (struct nd_opt_hdr *)&rs[1]; in incoming_rs()
296 while (len >= sizeof (struct nd_opt_hdr)) { in incoming_rs()
306 opt = (struct nd_opt_hdr *)((char *)opt + optlen); in incoming_rs()
436 struct nd_opt_hdr *opt; in incoming_ra()
551 opt = (struct nd_opt_hdr *)&ra[1]; in incoming_ra()
552 while (len >= sizeof (struct nd_opt_hdr)) { in incoming_ra()
[all …]
H A Dmain.c166 optlen = ((sizeof (struct nd_opt_hdr) + hwaddrlen + 7) / 8) * 8; in add_opt_lla()
/titanic_41/usr/src/uts/common/netinet/
H A Dicmp6.h350 typedef struct nd_opt_hdr { /* Neighbor discovery option header */ struct
/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_icmp.c786 struct nd_opt_hdr *opt;
789 opt = (struct nd_opt_hdr *)optc;
/titanic_41/usr/src/uts/common/inet/ip/
H A Dip_ndp.c3372 opt = (struct nd_opt_hdr *)((char *)opt + 8 * opt->nd_opt_len); in ndp_get_option()
3391 opt = (struct nd_opt_hdr *)((char *)opt + 8 * opt->nd_opt_len); in ndp_verify_optlen()