Searched refs:l2 (Results 1 - 25 of 599) sorted by relevance

1234567891011>>

/netbsd-current/external/bsd/wpa/dist/src/l2_packet/
H A Dl2_packet_none.c30 int l2_packet_get_own_addr(struct l2_packet_data *l2, u8 *addr) argument
32 os_memcpy(addr, l2->own_addr, ETH_ALEN);
37 int l2_packet_send(struct l2_packet_data *l2, const u8 *dst_addr, u16 proto, argument
40 if (l2 == NULL)
45 * whether l2->l2_hdr is set).
54 struct l2_packet_data *l2 = eloop_ctx; local
62 l2->rx_callback(l2->rx_callback_ctx, NULL /* TODO: src addr */,
73 struct l2_packet_data *l2; local
75 l2
106 l2_packet_deinit(struct l2_packet_data *l2) argument
120 l2_packet_get_ip_addr(struct l2_packet_data *l2, char *buf, size_t len) argument
127 l2_packet_notify_auth_start(struct l2_packet_data *l2) argument
133 l2_packet_set_packet_filter(struct l2_packet_data *l2, enum l2_packet_filter_type type) argument
[all...]
H A Dl2_packet_winpcap.c65 int l2_packet_get_own_addr(struct l2_packet_data *l2, u8 *addr) argument
67 os_memcpy(addr, l2->own_addr, ETH_ALEN);
72 int l2_packet_send(struct l2_packet_data *l2, const u8 *dst_addr, u16 proto, argument
78 if (l2 == NULL)
81 if (l2->l2_hdr) {
82 ret = pcap_sendpacket(l2->pcap, buf, len);
90 os_memcpy(eth->h_source, l2->own_addr, ETH_ALEN);
93 ret = pcap_sendpacket(l2->pcap, (u8 *) eth, mlen);
105 struct l2_packet_data *l2 = (struct l2_packet_data *) user; local
112 if (l2
130 struct l2_packet_data *l2 = arg; local
153 struct l2_packet_data *l2 = eloop_data; local
161 l2_packet_init_libpcap(struct l2_packet_data *l2, unsigned short protocol) argument
204 struct l2_packet_data *l2; local
265 struct l2_packet_data *l2 = eloop_ctx; local
285 l2_packet_deinit(struct l2_packet_data *l2) argument
307 l2_packet_get_ip_addr(struct l2_packet_data *l2, char *buf, size_t len) argument
343 l2_packet_notify_auth_start(struct l2_packet_data *l2) argument
[all...]
H A Dl2_packet_pcap.c43 int l2_packet_get_own_addr(struct l2_packet_data *l2, u8 *addr) argument
45 os_memcpy(addr, l2->own_addr, ETH_ALEN);
51 static int l2_packet_init_libdnet(struct l2_packet_data *l2) argument
55 l2->eth = eth_open(l2->ifname);
56 if (!l2->eth) {
59 l2->ifname, strerror(errno));
63 if (eth_get(l2->eth, &own_addr) < 0) {
66 l2->ifname, strerror(errno));
67 eth_close(l2
78 l2_packet_send(struct l2_packet_data *l2, const u8 *dst_addr, u16 proto, const u8 *buf, size_t len) argument
120 struct l2_packet_data *l2 = eloop_ctx; local
150 struct l2_packet_data *l2 = (struct l2_packet_data *) user; local
177 struct l2_packet_data *l2 = eloop_ctx; local
197 l2_packet_init_libpcap(struct l2_packet_data *l2, unsigned short protocol) argument
285 struct l2_packet_data *l2; local
327 l2_packet_deinit(struct l2_packet_data *l2) argument
345 l2_packet_get_ip_addr(struct l2_packet_data *l2, char *buf, size_t len) argument
381 l2_packet_notify_auth_start(struct l2_packet_data *l2) argument
396 l2_packet_set_packet_filter(struct l2_packet_data *l2, enum l2_packet_filter_type type) argument
[all...]
H A Dl2_packet_privsep.c29 static int wpa_priv_cmd(struct l2_packet_data *l2, int cmd, argument
43 msg.msg_name = &l2->priv_addr;
44 msg.msg_namelen = sizeof(l2->priv_addr);
46 if (sendmsg(l2->fd, &msg, 0) < 0) {
55 int l2_packet_get_own_addr(struct l2_packet_data *l2, u8 *addr) argument
57 os_memcpy(addr, l2->own_addr, ETH_ALEN);
62 int l2_packet_send(struct l2_packet_data *l2, const u8 *dst_addr, u16 proto, argument
81 msg.msg_name = &l2->priv_addr;
82 msg.msg_namelen = sizeof(l2->priv_addr);
84 if (sendmsg(l2
96 struct l2_packet_data *l2 = eloop_ctx; local
134 struct l2_packet_data *l2; local
246 l2_packet_deinit(struct l2_packet_data *l2) argument
266 l2_packet_get_ip_addr(struct l2_packet_data *l2, char *buf, size_t len) argument
273 l2_packet_notify_auth_start(struct l2_packet_data *l2) argument
279 l2_packet_set_packet_filter(struct l2_packet_data *l2, enum l2_packet_filter_type type) argument
[all...]
H A Dl2_packet_linux.c108 int l2_packet_get_own_addr(struct l2_packet_data *l2, u8 *addr) argument
110 os_memcpy(addr, l2->own_addr, ETH_ALEN);
115 int l2_packet_send(struct l2_packet_data *l2, const u8 *dst_addr, u16 proto, argument
122 if (l2 == NULL)
124 if (l2->l2_hdr) {
125 ret = send(l2->fd, buf, len, 0);
133 ll.sll_ifindex = l2->ifindex;
137 ret = sendto(l2->fd, buf, len, 0, (struct sockaddr *) &ll,
150 struct l2_packet_data *l2 = eloop_ctx; local
170 if (l2
218 struct l2_packet_data *l2 = eloop_ctx; local
274 struct l2_packet_data *l2; local
342 struct l2_packet_data *l2; local
420 l2_packet_deinit(struct l2_packet_data *l2) argument
441 l2_packet_get_ip_addr(struct l2_packet_data *l2, char *buf, size_t len) argument
474 l2_packet_notify_auth_start(struct l2_packet_data *l2) argument
479 l2_packet_set_packet_filter(struct l2_packet_data *l2, enum l2_packet_filter_type type) argument
[all...]
H A Dl2_packet_ndis.c56 struct l2_packet_data *l2[2]; member in struct:l2_packet_ndisuio_global
84 int l2_packet_get_own_addr(struct l2_packet_data *l2, u8 *addr) argument
86 os_memcpy(addr, l2->own_addr, ETH_ALEN);
91 int l2_packet_send(struct l2_packet_data *l2, const u8 *dst_addr, u16 proto, argument
102 if (l2 == NULL)
112 if (l2->l2_hdr) {
122 os_memcpy(eth->h_source, l2->own_addr, ETH_ALEN);
157 static void l2_packet_callback(struct l2_packet_data *l2);
160 static void l2_packet_rx_thread_try_read(struct l2_packet_data *l2) argument
165 if (!ReadFile(driver_ndis_get_ndisuio_handle(), l2
198 struct l2_packet_data *l2 = arg; local
250 l2_ndisuio_start_read(struct l2_packet_data *l2, int recursive) argument
279 l2_packet_callback(struct l2_packet_data *l2) argument
306 struct l2_packet_data *l2 = eloop_data; local
354 struct l2_packet_data *l2; local
465 l2_packet_deinit(struct l2_packet_data *l2) argument
520 l2_packet_get_ip_addr(struct l2_packet_data *l2, char *buf, size_t len) argument
526 l2_packet_notify_auth_start(struct l2_packet_data *l2) argument
531 l2_packet_set_packet_filter(struct l2_packet_data *l2, enum l2_packet_filter_type type) argument
[all...]
H A Dl2_packet_freebsd.c48 int l2_packet_get_own_addr(struct l2_packet_data *l2, u8 *addr) argument
50 os_memcpy(addr, l2->own_addr, ETH_ALEN);
55 int l2_packet_send(struct l2_packet_data *l2, const u8 *dst_addr, u16 proto, argument
58 if (!l2->l2_hdr) {
64 os_memcpy(eth->h_source, l2->own_addr, ETH_ALEN);
67 ret = pcap_inject(l2->pcap, (u8 *) eth, len + sizeof(*eth));
71 return pcap_inject(l2->pcap, buf, len);
77 struct l2_packet_data *l2 = eloop_ctx; local
91 if (l2->l2_hdr) {
98 l2
102 l2_packet_init_libpcap(struct l2_packet_data *l2, unsigned short protocol) argument
233 struct l2_packet_data *l2; local
271 l2_packet_deinit(struct l2_packet_data *l2) argument
284 l2_packet_get_ip_addr(struct l2_packet_data *l2, char *buf, size_t len) argument
320 l2_packet_notify_auth_start(struct l2_packet_data *l2) argument
325 l2_packet_set_packet_filter(struct l2_packet_data *l2, enum l2_packet_filter_type type) argument
[all...]
/netbsd-current/external/gpl3/gdb.old/dist/gas/testsuite/gas/elf/
H A Dstruct.s1 .globl w1, w2, w3, l1, l2
9 l2: .long 0 label
/netbsd-current/external/gpl3/gdb.old/dist/gdb/testsuite/gdb.fortran/
H A Dlogical.f9021 logical (kind=2) :: l2 variable in program:test
27 l2 = .TRUE.
H A Dintrinsics.f9019 logical (kind=2) :: l2 variable in program:test
34 l2 = .TRUE.
/netbsd-current/external/gpl3/gdb/dist/gdb/testsuite/gdb.fortran/
H A Dlogical.f9021 logical (kind=2) :: l2 variable in program:test
27 l2 = .TRUE.
/netbsd-current/external/gpl3/gdb.old/dist/gas/testsuite/gas/mips/
H A Delf-rel12.s3 lui $4,%hi(l2)
5 addiu $4,$4,%lo(l2)
11 .globl l2
14 l2: .word 2 label
H A Delf-rel.s4 l2 = l0+49150 define
22 lui $at,%hi(l2)
23 lui $at,%hi(l2+4)
24 lui $at,%hi(l2+0x10000)
25 lui $at,%hi(l2+0x10004)
26 lui $at,%hi(l2-4)
27 lui $at,%hi(l2+0x8000)
28 addi $at,$at,%lo(l2)
29 addi $at,$at,%lo(l2+4)
30 addi $at,$at,%lo(l2
[all...]
H A Delf-rel9-mips16.s26 lw $4,%got(l2)($2)
27 addiu $4,%lo(l2)
29 lw $4,%got(l2 + 0xfff)($2)
30 addiu $4,%lo(l2 + 0xfff)
32 lw $4,%got(l2 + 0x1000)($2)
33 addiu $4,%lo(l2 + 0x1000)
35 lw $4,%got(l2 + 0x12345)($2)
36 addiu $4,%lo(l2 + 0x12345)
53 l2: .word 7,8 label
H A Delf-rel9.s24 lw $4,%got(l2)($28)
25 addiu $4,$4,%lo(l2)
27 lw $4,%got(l2 + 0xfff)($28)
28 addiu $4,$4,%lo(l2 + 0xfff)
30 lw $4,%got(l2 + 0x1000)($28)
31 addiu $4,$4,%lo(l2 + 0x1000)
33 lw $4,%got(l2 + 0x12345)($28)
34 addiu $4,$4,%lo(l2 + 0x12345)
51 l2: .word 7,8 label
/netbsd-current/crypto/external/bsd/openssl.old/dist/crypto/bf/
H A Dbf_local.h15 # define n2ln(c,l1,l2,n) { \
17 l1=l2=0; \
19 case 8: l2 =((unsigned long)(*(--(c)))) ; \
21 case 7: l2|=((unsigned long)(*(--(c))))<< 8; \
23 case 6: l2|=((unsigned long)(*(--(c))))<<16; \
25 case 5: l2|=((unsigned long)(*(--(c))))<<24; \
38 # define l2nn(l1,l2,c,n) { \
41 case 8: *(--(c))=(unsigned char)(((l2) )&0xff); \
43 case 7: *(--(c))=(unsigned char)(((l2)>> 8)&0xff); \
45 case 6: *(--(c))=(unsigned char)(((l2)>>1
[all...]
/netbsd-current/crypto/external/bsd/openssl/dist/crypto/bf/
H A Dbf_local.h15 # define n2ln(c,l1,l2,n) { \
17 l1=l2=0; \
19 case 8: l2 =((unsigned long)(*(--(c)))) ; \
21 case 7: l2|=((unsigned long)(*(--(c))))<< 8; \
23 case 6: l2|=((unsigned long)(*(--(c))))<<16; \
25 case 5: l2|=((unsigned long)(*(--(c))))<<24; \
38 # define l2nn(l1,l2,c,n) { \
41 case 8: *(--(c))=(unsigned char)(((l2) )&0xff); \
43 case 7: *(--(c))=(unsigned char)(((l2)>> 8)&0xff); \
45 case 6: *(--(c))=(unsigned char)(((l2)>>1
[all...]
/netbsd-current/external/gpl3/gdb.old/dist/gdb/testsuite/gdb.base/
H A Drestore.c139 register int l2 = increment (l1); local
140 return l1+l2;
148 register int l2 = increment (l1); local
149 register int l3 = increment (l2);
150 return l1+l2+l3;
158 register int l2 = increment (l1); local
159 register int l3 = increment (l2);
161 return l1+l2+l3+l4;
169 register int l2 = increment (l1); local
170 register int l3 = increment (l2);
194 register int l2 = increment (l1); local
209 register int l2 = increment (l1); local
225 register int l2 = increment (l1); local
242 register int l2 = increment (l1); local
[all...]
/netbsd-current/external/gpl3/gdb/dist/gdb/testsuite/gdb.base/
H A Drestore.c139 register int l2 = increment (l1); local
140 return l1+l2;
148 register int l2 = increment (l1); local
149 register int l3 = increment (l2);
150 return l1+l2+l3;
158 register int l2 = increment (l1); local
159 register int l3 = increment (l2);
161 return l1+l2+l3+l4;
169 register int l2 = increment (l1); local
170 register int l3 = increment (l2);
194 register int l2 = increment (l1); local
209 register int l2 = increment (l1); local
225 register int l2 = increment (l1); local
242 register int l2 = increment (l1); local
[all...]
/netbsd-current/tests/usr.bin/c++/
H A Dt_tsan_lock_order_inversion.sh65 pthread_mutex_t l1, l2;
68 pthread_mutex_init(&l2, NULL);
69 pthread_mutex_lock(&l2);
72 pthread_mutex_unlock(&l2);
75 pthread_mutex_lock(&l2);
76 pthread_mutex_unlock(&l2);
92 pthread_mutex_t l1, l2;
95 pthread_mutex_init(&l2, NULL);
96 pthread_mutex_lock(&l2);
99 pthread_mutex_unlock(&l2);
[all...]
/netbsd-current/tests/usr.bin/cc/
H A Dt_tsan_lock_order_inversion.sh64 pthread_mutex_t l1, l2;
67 pthread_mutex_init(&l2, NULL);
68 pthread_mutex_lock(&l2);
71 pthread_mutex_unlock(&l2);
74 pthread_mutex_lock(&l2);
75 pthread_mutex_unlock(&l2);
91 pthread_mutex_t l1, l2;
94 pthread_mutex_init(&l2, NULL);
95 pthread_mutex_lock(&l2);
98 pthread_mutex_unlock(&l2);
[all...]
/netbsd-current/external/gpl3/gdb.old/dist/binutils/testsuite/binutils-all/aarch64/
H A Dobjdump.s4 l2: label
/netbsd-current/crypto/external/bsd/openssl.old/dist/crypto/rc2/
H A Drc2_local.h20 #define c2ln(c,l1,l2,n) { \
22 l1=l2=0; \
24 case 8: l2 =((unsigned long)(*(--(c))))<<24L; \
26 case 7: l2|=((unsigned long)(*(--(c))))<<16L; \
28 case 6: l2|=((unsigned long)(*(--(c))))<< 8L; \
30 case 5: l2|=((unsigned long)(*(--(c)))); \
50 #define l2cn(l1,l2,c,n) { \
53 case 8: *(--(c))=(unsigned char)(((l2)>>24L)&0xff); \
55 case 7: *(--(c))=(unsigned char)(((l2)>>16L)&0xff); \
57 case 6: *(--(c))=(unsigned char)(((l2)>>
[all...]
/netbsd-current/crypto/external/bsd/openssl/dist/crypto/rc2/
H A Drc2_local.h20 #define c2ln(c,l1,l2,n) { \
22 l1=l2=0; \
24 case 8: l2 =((unsigned long)(*(--(c))))<<24L; \
26 case 7: l2|=((unsigned long)(*(--(c))))<<16L; \
28 case 6: l2|=((unsigned long)(*(--(c))))<< 8L; \
30 case 5: l2|=((unsigned long)(*(--(c)))); \
50 #define l2cn(l1,l2,c,n) { \
53 case 8: *(--(c))=(unsigned char)(((l2)>>24L)&0xff); \
55 case 7: *(--(c))=(unsigned char)(((l2)>>16L)&0xff); \
57 case 6: *(--(c))=(unsigned char)(((l2)>>
[all...]
/netbsd-current/external/gpl3/gcc.old/dist/libgcc/config/c6x/
H A Dcrti.S32 add .l2 -8, B15, B15
38 add .l2 -8, B15, B15

Completed in 162 milliseconds

1234567891011>>