Home
last modified time | relevance | path

Searched refs:sa_ll (Results 1 – 3 of 3) sorted by relevance

/external/scapy/scapy/arch/
Dlinux.py436 pkt, sa_ll = self.ins.recvfrom(x)
437 if sa_ll[2] == socket.PACKET_OUTGOING:
439 if sa_ll[3] in conf.l2types:
440 cls = conf.l2types[sa_ll[3]]
442 elif sa_ll[1] in conf.l3types:
443 cls = conf.l3types[sa_ll[1]]
447 …to guess type (interface=%s protocol=%#x family=%i). Using %s", sa_ll[0], sa_ll[1], sa_ll[3], cls.…
514 sa_ll = self.outs.getsockname()
515 if sa_ll[3] in conf.l2types:
516 self.LL = conf.l2types[sa_ll[3]]
[all …]
/external/scapy/scapy/
Dsupersocket.py84 pkt, sa_ll = self.ins.recvfrom(x)
85 if sa_ll[2] == socket.PACKET_OUTGOING:
87 if sa_ll[3] in conf.l2types:
88 cls = conf.l2types[sa_ll[3]]
90 elif sa_ll[1] in conf.l3types:
91 cls = conf.l3types[sa_ll[1]]
95 …to guess type (interface=%s protocol=%#x family=%i). Using %s", sa_ll[0], sa_ll[1], sa_ll[3], cls.…
/external/strace/
Dsockaddr.c399 const struct sockaddr_ll *const sa_ll = buf; in print_sockaddr_data_ll() local
402 printxval_search(ethernet_protocols, ntohs(sa_ll->sll_protocol), in print_sockaddr_data_ll()
404 PRINT_FIELD_IFINDEX("), ", *sa_ll, sll_ifindex); in print_sockaddr_data_ll()
406 printxval_search(arp_hardware_types, sa_ll->sll_hatype, "ARPHRD_???"); in print_sockaddr_data_ll()
408 printxval_index(af_packet_types, sa_ll->sll_pkttype, "PACKET_???"); in print_sockaddr_data_ll()
409 tprintf(", sll_halen=%u", sa_ll->sll_halen); in print_sockaddr_data_ll()
410 if (sa_ll->sll_halen) { in print_sockaddr_data_ll()
416 for (i = 0; i < sa_ll->sll_halen; ++i) { in print_sockaddr_data_ll()
423 tprintf("%#02x", sa_ll->sll_addr[i]); in print_sockaddr_data_ll()