Searched refs:sll_protocol (Results 1 – 21 of 21) sorted by relevance
27 sll.sll_protocol = htons(ETH_P_ALL); in open_raw_sock()
424 addr.sll_protocol = htons(ETH_P_IPV6); in send_packet()427 addr.sll_protocol = htons(ETH_P_IP); in send_packet()443 eth.h_proto = addr.sll_protocol; in send_packet()534 laddr.sll_protocol = htons(ETH_P_IP); in recv_prepare_packet_bind()536 laddr.sll_protocol = htons(ETH_P_IPV6); in recv_prepare_packet_bind()
175 laddr.sll_protocol = htons(ETH_P_IP); in do_bind()202 laddr.sll_protocol = htons(ETH_P_IP); in do_send()
97 laddr.sll_protocol = htons(0); in setup_tx()
79 addr.sll_protocol = htons(ETH_P_IP); in sock_fanout_open()
362 ll.sll_protocol = cfg_family == AF_INET ? htons(ETH_P_IP) : in create_ring()
605 laddr.sll_protocol = htons(family == AF_INET ? ETH_P_IP : ETH_P_IPV6); in do_test()
733 ring->ll.sll_protocol = htons(ETH_P_ALL); in bind_ring()
517 laddr.sll_protocol = htons(proto); in do_tx()
722 daddr.sll_protocol = ethhdr_proto; in bind_packetsocket()
109 saddr.sll_protocol = htons(ETH_P_ALL); in bind_sock()
118 if (sa.sll_protocol) in real_bind()
16 __be16 sll_protocol; member
111 .sll_protocol = htons(ETH_P_IP), in new_packet_sock()
211 .sll_protocol = htons(ETH_P_ALL), in test_lsm_cgroup_functional()
118 addr.sll_protocol = htons(ETH_P_ARP); in send_arp_packet()
2514 sll->sll_protocol = (sk->sk_type == SOCK_DGRAM) ? in tpacket_rcv()2816 proto = saddr->sll_protocol; in tpacket_snd()3030 proto = saddr->sll_protocol; in packet_snd()3379 return packet_do_bind(sk, NULL, sll->sll_ifindex, sll->sll_protocol); in packet_bind()3543 sll->sll_protocol = (sock->type == SOCK_DGRAM) ? in packet_recvmsg()3670 sll->sll_protocol = READ_ONCE(po->num); in packet_getname()
130 In this case, you also need to bind(2) the TX_RING with sll_protocol = 0163 my_addr.sll_protocol = htons(ETH_P_ALL);875 ll.sll_protocol = htons(ETH_P_ALL);
181 sock.sll_protocol = htons(proto); in create_raw_fd()
152 abi_ushort sll_protocol; /* Physical layer protocol */ member
398 ntohs(ll->sll_protocol), ll->sll_ifindex); in print_sockaddr()