Lines Matching full:sa
42 struct sock *pn_find_sock_by_sa(struct net *net, const struct sockaddr_pn *sa);
72 void pn_skb_get_src_sockaddr(struct sk_buff *skb, struct sockaddr_pn *sa) in pn_skb_get_src_sockaddr() argument
77 sa->spn_family = AF_PHONET; in pn_skb_get_src_sockaddr()
78 pn_sockaddr_set_object(sa, obj); in pn_skb_get_src_sockaddr()
79 pn_sockaddr_set_resource(sa, ph->pn_res); in pn_skb_get_src_sockaddr()
80 memset(sa->spn_zero, 0, sizeof(sa->spn_zero)); in pn_skb_get_src_sockaddr()
84 void pn_skb_get_dst_sockaddr(struct sk_buff *skb, struct sockaddr_pn *sa) in pn_skb_get_dst_sockaddr() argument
89 sa->spn_family = AF_PHONET; in pn_skb_get_dst_sockaddr()
90 pn_sockaddr_set_object(sa, obj); in pn_skb_get_dst_sockaddr()
91 pn_sockaddr_set_resource(sa, ph->pn_res); in pn_skb_get_dst_sockaddr()
92 memset(sa->spn_zero, 0, sizeof(sa->spn_zero)); in pn_skb_get_dst_sockaddr()