nd6_nbr.c | 547 struct nd_opt_hdr *nd_opt = (struct nd_opt_hdr *)(nd_ns + 1); local in function:nd6_ns_output 554 memset((void *)nd_opt, 0, optlen); 555 nd_opt->nd_opt_type = ND_OPT_SOURCE_LINKADDR; 556 nd_opt->nd_opt_len = optlen >> 3; 557 memcpy((void *)(nd_opt + 1), mac, ifp->if_addrlen); 564 struct nd_opt_hdr *nd_opt = (struct nd_opt_hdr *)(nd_ns + 1); local in function:nd6_ns_output 571 memset(nd_opt, 0, optlen); 572 nd_opt->nd_opt_type = ND_OPT_NONCE; 573 nd_opt->nd_opt_len = optlen >> 3; 574 memcpy(nd_opt + 1, nonce, ND_OPT_NONCE_LEN) 1018 struct nd_opt_hdr *nd_opt = (struct nd_opt_hdr *)(nd_na + 1); local in function:nd6_na_output [all...] |