Lines Matching refs:sockaddr_ll

225 			struct sockaddr_ll ll;
2124 struct sockaddr_ll *sll; in packet_rcv()
2241 struct sockaddr_ll *sll; in tpacket_rcv()
2675 off_min = po->tp_hdrlen - sizeof(struct sockaddr_ll); in tpacket_parse_header()
2705 off = po->tp_hdrlen - sizeof(struct sockaddr_ll); in tpacket_parse_header()
2721 DECLARE_SOCKADDR(struct sockaddr_ll *, saddr, msg->msg_name); in tpacket_snd()
2745 if (msg->msg_namelen < sizeof(struct sockaddr_ll)) in tpacket_snd()
2748 + offsetof(struct sockaddr_ll, in tpacket_snd()
2755 offsetof(struct sockaddr_ll, sll_addr)) in tpacket_snd()
2778 - (po->tp_hdrlen - sizeof(struct sockaddr_ll)); in tpacket_snd()
2823 hlen + tlen + sizeof(struct sockaddr_ll) + in tpacket_snd()
2936 DECLARE_SOCKADDR(struct sockaddr_ll *, saddr, msg->msg_name); in packet_snd()
2959 if (msg->msg_namelen < sizeof(struct sockaddr_ll)) in packet_snd()
2961 if (msg->msg_namelen < (saddr->sll_halen + offsetof(struct sockaddr_ll, sll_addr))) in packet_snd()
2967 offsetof(struct sockaddr_ll, sll_addr)) in packet_snd()
3298 struct sockaddr_ll *sll = (struct sockaddr_ll *)uaddr; in packet_bind()
3305 if (addr_len < sizeof(struct sockaddr_ll)) in packet_bind()
3473 struct sockaddr_ll *sll = &PACKET_SKB_CB(skb)->sa.ll; in packet_recvmsg()
3496 struct sockaddr_ll *sll = &PACKET_SKB_CB(skb)->sa.ll; in packet_recvmsg()
3499 offsetof(struct sockaddr_ll, sll_addr); in packet_recvmsg()
3501 if (msg->msg_namelen < sizeof(struct sockaddr_ll)) { in packet_recvmsg()
3503 offsetof(struct sockaddr_ll, sll_addr), in packet_recvmsg()
3505 msg->msg_namelen = sizeof(struct sockaddr_ll); in packet_recvmsg()
3578 DECLARE_SOCKADDR(struct sockaddr_ll *, sll, uaddr); in packet_getname()
3601 return offsetof(struct sockaddr_ll, sll_addr) + sll->sll_halen; in packet_getname()