Home
last modified time | relevance | path

Searched refs:lla (Results 1 – 4 of 4) sorted by relevance

/illumos-gate/usr/src/test/os-tests/tests/spoof-ras/
H A Dspoof-ras.c174 struct nd_opt_lla lla; in spoof_bad_lla_optlen_test() local
179 spoof_prepare_lla(&lla, nce, &iovs[1]); in spoof_bad_lla_optlen_test()
189 old_lla_len = lla.nd_opt_lla_len; in spoof_bad_lla_optlen_test()
196 lla.nd_opt_lla_len = 0; in spoof_bad_lla_optlen_test()
206 lla.nd_opt_lla_len = 2; in spoof_bad_lla_optlen_test()
217 lla.nd_opt_lla_len = old_lla_len; in spoof_bad_lla_optlen_test()
237 struct nd_opt_lla lla; in spoof_bad_pi_optlen_test() local
242 spoof_prepare_lla(&lla, nce, &iovs[1]); in spoof_bad_pi_optlen_test()
308 struct nd_opt_lla lla; in spoof_bad_plen_test() local
312 spoof_prepare_lla(&lla, nce, &iovs[1]); in spoof_bad_plen_test()
[all …]
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/in.ndpd/
H A Dtrace.c165 fmt_lla(char *llabuf, int bufsize, uchar_t *lla, int llalen) in fmt_lla() argument
172 (void) snprintf(cp, bufsize, "%02x", lla[i] & 0xFF); in fmt_lla()
174 (void) snprintf(cp, bufsize, "%02x:", lla[i] & 0xFF); in fmt_lla()
H A Ddefs.h143 extern char *fmt_lla(char *llabuf, int bufsize, uchar_t *lla, int llalen);
/illumos-gate/usr/src/uts/common/io/mac/
H A Dmac_protect.c1827 struct nd_opt_lla *lla = NULL; in ipnospoof_check_ndp() local
1901 lla = (struct nd_opt_lla *)opt; in ipnospoof_check_ndp()
1908 if (lla == NULL) in ipnospoof_check_ndp()
1911 addrlen = lla->nd_opt_lla_len * 8 - sizeof (nd_opt_hdr_t); in ipnospoof_check_ndp()
1916 lla->nd_opt_lla_hdw_addr, maclen) != 0) { in ipnospoof_check_ndp()