Searched refs:sockaddr_pn (Results 1 – 7 of 7) sorted by relevance
/linux-2.6.39/include/linux/ |
D | phonet.h | 98 struct sockaddr_pn { struct 134 static inline void pn_sockaddr_set_addr(struct sockaddr_pn *spn, __u8 addr) in pn_sockaddr_set_addr() 140 static inline void pn_sockaddr_set_port(struct sockaddr_pn *spn, __u16 port) in pn_sockaddr_set_port() 147 static inline void pn_sockaddr_set_object(struct sockaddr_pn *spn, in pn_sockaddr_set_object() 154 static inline void pn_sockaddr_set_resource(struct sockaddr_pn *spn, in pn_sockaddr_set_resource() 160 static inline __u8 pn_sockaddr_get_addr(const struct sockaddr_pn *spn) in pn_sockaddr_get_addr() 165 static inline __u16 pn_sockaddr_get_port(const struct sockaddr_pn *spn) in pn_sockaddr_get_port() 170 static inline __u16 pn_sockaddr_get_object(const struct sockaddr_pn *spn) in pn_sockaddr_get_object() 175 static inline __u8 pn_sockaddr_get_resource(const struct sockaddr_pn *spn) in pn_sockaddr_get_resource()
|
/linux-2.6.39/include/net/phonet/ |
D | phonet.h | 51 struct sock *pn_find_sock_by_sa(struct net *net, const struct sockaddr_pn *sa); 64 const struct sockaddr_pn *target); 81 void pn_skb_get_src_sockaddr(struct sk_buff *skb, struct sockaddr_pn *sa) in pn_skb_get_src_sockaddr() 93 void pn_skb_get_dst_sockaddr(struct sk_buff *skb, struct sockaddr_pn *sa) in pn_skb_get_dst_sockaddr()
|
/linux-2.6.39/net/phonet/ |
D | datagram.c | 88 struct sockaddr_pn *target; in pn_sendmsg() 99 if (msg->msg_namelen < sizeof(struct sockaddr_pn)) in pn_sendmsg() 102 target = (struct sockaddr_pn *)msg->msg_name; in pn_sendmsg() 133 struct sockaddr_pn sa; in pn_recvmsg() 165 memcpy(msg->msg_name, &sa, sizeof(struct sockaddr_pn)); in pn_recvmsg()
|
D | socket.c | 76 struct sock *pn_find_sock_by_sa(struct net *net, const struct sockaddr_pn *spn) in pn_find_sock_by_sa() 171 struct sockaddr_pn *spn = (struct sockaddr_pn *)addr; in pn_socket_bind() 179 if (len < sizeof(struct sockaddr_pn)) in pn_socket_bind() 184 handle = pn_sockaddr_get_object((struct sockaddr_pn *)addr); in pn_socket_bind() 215 struct sockaddr_pn sa; in pn_socket_autobind() 221 sizeof(struct sockaddr_pn)); in pn_socket_autobind() 233 struct sockaddr_pn *spn = (struct sockaddr_pn *)addr; in pn_socket_connect() 240 if (len < sizeof(struct sockaddr_pn)) in pn_socket_connect() 332 memset(addr, 0, sizeof(struct sockaddr_pn)); in pn_socket_getname() 335 pn_sockaddr_set_object((struct sockaddr_pn *)addr, in pn_socket_getname() [all …]
|
D | pep.c | 102 struct sockaddr_pn peer; in pep_reply() 207 struct sockaddr_pn dst; in pep_ctrlreq_error() 604 const struct sockaddr_pn *dst, in pep_find_pipe() 638 struct sockaddr_pn dst; in pep_do_rcv() 747 struct sockaddr_pn dst, src; in pep_sock_accept()
|
D | af_phonet.c | 238 const struct sockaddr_pn *target) in pn_skb_send() 377 struct sockaddr_pn sa; in phonet_rcv()
|
/linux-2.6.39/Documentation/networking/ |
D | phonet.txt | 77 struct sockaddr_pn { 97 struct sockaddr_pn addr = { .spn_family = AF_PHONET, };
|