Home
last modified time | relevance | path

Searched refs:sockaddr_pn (Results 1 – 7 of 7) sorted by relevance

/linux-6.3-rc2/include/uapi/linux/
A Dphonet.h102 struct sockaddr_pn { struct
138 static inline void pn_sockaddr_set_addr(struct sockaddr_pn *spn, __u8 addr) in pn_sockaddr_set_addr()
144 static inline void pn_sockaddr_set_port(struct sockaddr_pn *spn, __u16 port) in pn_sockaddr_set_port()
151 static inline void pn_sockaddr_set_object(struct sockaddr_pn *spn, in pn_sockaddr_set_object()
158 static inline void pn_sockaddr_set_resource(struct sockaddr_pn *spn, in pn_sockaddr_set_resource()
164 static inline __u8 pn_sockaddr_get_addr(const struct sockaddr_pn *spn) in pn_sockaddr_get_addr()
169 static inline __u16 pn_sockaddr_get_port(const struct sockaddr_pn *spn) in pn_sockaddr_get_port()
174 static inline __u16 pn_sockaddr_get_object(const struct sockaddr_pn *spn) in pn_sockaddr_get_object()
179 static inline __u8 pn_sockaddr_get_resource(const struct sockaddr_pn *spn) in pn_sockaddr_get_resource()
/linux-6.3-rc2/net/phonet/
A Dsocket.c160 struct sockaddr_pn *spn = (struct sockaddr_pn *)addr; in pn_socket_bind()
168 if (len < sizeof(struct sockaddr_pn)) in pn_socket_bind()
204 struct sockaddr_pn sa; in pn_socket_autobind()
210 sizeof(struct sockaddr_pn)); in pn_socket_autobind()
222 struct sockaddr_pn *spn = (struct sockaddr_pn *)addr; in pn_socket_connect()
229 if (len < sizeof(struct sockaddr_pn)) in pn_socket_connect()
321 memset(addr, 0, sizeof(struct sockaddr_pn)); in pn_socket_getname()
324 pn_sockaddr_set_object((struct sockaddr_pn *)addr, in pn_socket_getname()
327 return sizeof(struct sockaddr_pn); in pn_socket_getname()
475 struct sockaddr_pn try_sa; in pn_sock_get_port()
[all …]
A Ddatagram.c75 DECLARE_SOCKADDR(struct sockaddr_pn *, target, msg->msg_name); in pn_sendmsg()
86 if (msg->msg_namelen < sizeof(struct sockaddr_pn)) in pn_sendmsg()
118 struct sockaddr_pn sa; in pn_recvmsg()
A Dpep.c91 struct sockaddr_pn peer; in pep_reply()
196 struct sockaddr_pn dst; in pep_ctrlreq_error()
626 const struct sockaddr_pn *dst, in pep_find_pipe()
659 struct sockaddr_pn dst; in pep_do_rcv()
769 struct sockaddr_pn dst, src; in pep_sock_accept()
A Daf_phonet.c225 const struct sockaddr_pn *target) in pn_skb_send()
363 struct sockaddr_pn sa; in phonet_rcv()
/linux-6.3-rc2/include/net/phonet/
A Dphonet.h42 struct sock *pn_find_sock_by_sa(struct net *net, const struct sockaddr_pn *sa);
55 const struct sockaddr_pn *target);
72 void pn_skb_get_src_sockaddr(struct sk_buff *skb, struct sockaddr_pn *sa) 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()
/linux-6.3-rc2/Documentation/networking/
A Dphonet.rst82 struct sockaddr_pn {
104 struct sockaddr_pn addr = { .spn_family = AF_PHONET, };

Completed in 14 milliseconds