Home
last modified time | relevance | path

Searched refs:sll_protocol (Results 1 – 25 of 42) sorted by relevance

12

/external/tcpdump/
Dprint-sll.c86 uint16_t sll_protocol; /* protocol */ member
150 ether_type = EXTRACT_16BITS(&sllp->sll_protocol); in sll_print()
228 ether_type = EXTRACT_16BITS(&sllp->sll_protocol); in sll_if_print()
/external/libpcap/pcap/
Dsll.h90 uint16_t sll_protocol; /* protocol */ member
/external/wpa_supplicant_8/src/l2_packet/
Dl2_packet_linux.c134 ll.sll_protocol = htons(proto); in l2_packet_send()
314 ll.sll_protocol = htons(protocol); in l2_packet_init()
397 ll.sll_protocol = htons(ETH_P_ALL); in l2_packet_init_bridge()
/external/ltp/testcases/network/packet/
Dfanout01.c88 addr.sll_protocol = 0x0; in run()
/external/linux-kselftest/tools/testing/selftests/net/
Dpsock_snd.c175 laddr.sll_protocol = htons(ETH_P_IP); in do_bind()
202 laddr.sll_protocol = htons(ETH_P_IP); in do_send()
Dtxring_overwrite.c97 laddr.sll_protocol = htons(0); in setup_tx()
Dpsock_fanout.c75 addr.sll_protocol = htons(ETH_P_IP); in sock_fanout_open()
/external/ltp/testcases/network/stress/ns-tools/
Dns-common.c266 ll->sll_protocol = htons(ETH_P_IP); /* IPv4 */ in eth_pton()
268 ll->sll_protocol = htons(ETH_P_IPV6); /* IPv6 */ in eth_pton()
Dns-icmpv6_sender.c183 lladdr_p->sll_protocol = htons(ETH_P_IPV6); /* IPv6 */ in specify_hw_addr()
214 lladdr_p->sll_protocol = htons(ETH_P_IPV6); /* IPv6 */ in calc_hd_mcastaddr()
Dns-icmpv4_sender.c323 fake_p->saddr_ll.sll_protocol = htons(ETH_P_IP); /* IPv4 */ in complete_eth_addrs()
Dns-icmp_redirector.c242 lla.sll_protocol = htons(ETH_P_ALL); in open_socket()
/external/ppp/pppd/plugins/rp-pppoe/
Dif.c167 sa.sll_protocol = htons(type); in openInterface()
Dpppoe-discovery.c173 sa.sll_protocol = htons(type); in openInterface()
/external/iproute2/include/uapi/linux/
Dif_packet.h15 __be16 sll_protocol; member
/external/kernel-headers/original/uapi/linux/
Dif_packet.h16 __be16 sll_protocol; member
/external/iputils/
Drarpd.c638 sll.sll_protocol = htons(ETH_P_ARP); in main()
650 sll.sll_protocol = htons(ETH_P_RARP); in main()
/external/iproute2/misc/
Darpd.c193 .sll_protocol = htons(ETH_P_ARP), in send_probe()
768 .sll_protocol = htons(ETH_P_ARP), in main()
/external/libpcap/
Dpcap-linux.c1135 if ((sll->sll_protocol == LINUX_SLL_P_CAN || in linux_check_direction()
1136 sll->sll_protocol == LINUX_SLL_P_CANFD) && in linux_check_direction()
3832 hdrp->sll2_protocol = sll->sll_protocol; in pcap_handle_packet_mmap()
3876 hdrp->sll_protocol = sll->sll_protocol; in pcap_handle_packet_mmap()
4442 sll.sll_protocol = protocol; in iface_bind()
Dpcap-common.c1419 protocol = EXTRACT_BE_U_2(&shdr->sll_protocol); in swap_linux_sll_header()
/external/android-clat/
Dclatd.c96 .sll_protocol = htons(ETH_P_IPV6), in configure_packet_socket()
Dclatd_test.cpp891 EXPECT_EQ(htons(ETH_P_IPV6), sll.sll_protocol); in expectSocketBound()
915 EXPECT_EQ(htons(ETH_P_IPV6), sll.sll_protocol); in TEST_F()
/external/libwebsockets/lib/plat/unix/
Dunix-sockets.c325 sll.sll_protocol = htons(0x800); in lws_plat_rawudp_broadcast()
/external/toybox/toys/pending/
Darping.c259 src_pk.sll_protocol = htons(ETH_P_ARP); in arping_main()
/external/strace/
Dsockaddr.c402 printxval_search(ethernet_protocols, ntohs(sa_ll->sll_protocol), in print_sockaddr_data_ll()
/external/linux-kselftest/tools/testing/selftests/networking/timestamping/
Dtxtimestamp.c492 laddr.sll_protocol = htons(family == AF_INET ? ETH_P_IP : ETH_P_IPV6); in do_test()

12