Lines Matching refs:ll
70 struct sockaddr_ll ll; member
377 struct sockaddr_ll ll = { in walk_tx() local
403 ll.sll_ifindex = if_nametoindex("lo"); in walk_tx()
404 ret = bind(rcv_sock, (struct sockaddr *) &ll, sizeof(ll)); in walk_tx()
732 ring->ll.sll_family = PF_PACKET; in bind_ring()
733 ring->ll.sll_protocol = htons(ETH_P_ALL); in bind_ring()
734 ring->ll.sll_ifindex = if_nametoindex("lo"); in bind_ring()
735 ring->ll.sll_hatype = 0; in bind_ring()
736 ring->ll.sll_pkttype = 0; in bind_ring()
737 ring->ll.sll_halen = 0; in bind_ring()
739 ret = bind(sock, (struct sockaddr *) &ring->ll, sizeof(ring->ll)); in bind_ring()