Searched refs:ipxp (Results 1 - 10 of 10) sorted by relevance

/freebsd-10.1-release/sys/netipx/
H A Dipx_pcb.c89 struct ipxpcb *ipxp; local
94 ipxp = malloc(sizeof *ipxp, M_PCB, M_NOWAIT | M_ZERO);
95 if (ipxp == NULL)
97 IPX_LOCK_INIT(ipxp);
98 ipxp->ipxp_socket = so;
100 ipxp->ipxp_flags |= IPXP_CHECKSUM;
101 LIST_INSERT_HEAD(head, ipxp, ipxp_list);
102 so->so_pcb = (caddr_t)ipxp;
107 ipx_pcbbind(struct ipxpcb *ipxp, struc argument
159 ipx_pcbconnect(struct ipxpcb *ipxp, struct sockaddr *nam, struct thread *td) argument
320 ipx_pcbdisconnect(struct ipxpcb *ipxp) argument
330 ipx_pcbdetach(struct ipxpcb *ipxp) argument
342 ipx_pcbfree(struct ipxpcb *ipxp) argument
358 ipx_getsockaddr(struct ipxpcb *ipxp, struct sockaddr **nam) argument
373 ipx_getpeeraddr(struct ipxpcb *ipxp, struct sockaddr **nam) argument
390 struct ipxpcb *ipxp, *match = NULL; local
[all...]
H A Dipx_usrreq.c118 static int ipx_output(struct ipxpcb *ipxp, struct mbuf *m0);
155 ipx_input(struct mbuf *m, struct ipxpcb *ipxp) argument
161 KASSERT(ipxp != NULL, ("ipx_input: NULL ipxpcb"));
162 IPX_LOCK_ASSERT(ipxp);
184 ipxp->ipxp_rpt = ipx->ipx_pt;
185 if ((ipxp->ipxp_flags & IPXP_RAWIN) == 0) {
191 if (mac_socket_check_deliver(ipxp->ipxp_socket, m) != 0) {
196 if (sbappendaddr(&ipxp->ipxp_socket->so_rcv,
200 sorwakeup(ipxp->ipxp_socket);
208 ipx_drop(struct ipxpcb *ipxp, in argument
232 ipx_output(struct ipxpcb *ipxp, struct mbuf *m0) argument
354 struct ipxpcb *ipxp = sotoipxpcb(so); local
468 struct ipxpcb *ipxp = sotoipxpcb(so); local
485 struct ipxpcb *ipxp = sotoipxpcb(so); local
508 struct ipxpcb *ipxp = sotoipxpcb(so); local
530 struct ipxpcb *ipxp = sotoipxpcb(so); local
544 struct ipxpcb *ipxp = sotoipxpcb(so); local
566 struct ipxpcb *ipxp = sotoipxpcb(so); local
578 struct ipxpcb *ipxp = sotoipxpcb(so); local
647 struct ipxpcb *ipxp = sotoipxpcb(so); local
658 struct ipxpcb *ipxp = sotoipxpcb(so); local
[all...]
H A Dspx_usrreq.c127 static void spx_pcbdetach(struct ipxpcb *ipxp);
185 spx_input(struct mbuf *m, struct ipxpcb *ipxp) argument
195 KASSERT(ipxp != NULL, ("spx_input: ipxpcb == NULL"));
199 * lock and also the ipxp lock. spx_input() will release both before
200 * returning, and may in fact trade in the ipxp lock for another pcb
204 IPX_LOCK_ASSERT(ipxp);
206 cb = ipxtospxpcb(ipxp);
209 if (ipxp->ipxp_flags & IPXP_DROPPED)
214 IPX_UNLOCK(ipxp);
225 so = ipxp
876 struct ipxpcb *ipxp; local
1033 struct ipxpcb *ipxp; local
1056 struct ipxpcb *ipxp; local
1076 struct ipxpcb *ipxp; local
1137 spx_pcbdetach(struct ipxpcb *ipxp) argument
1154 struct ipxpcb *ipxp; local
1176 struct ipxpcb *ipxp; local
1203 struct ipxpcb *ipxp; local
1252 struct ipxpcb *ipxp; local
1279 struct ipxpcb *ipxp; local
1307 struct ipxpcb *ipxp; local
1344 struct ipxpcb *ipxp; local
1371 struct ipxpcb *ipxp; local
1406 struct ipxpcb *ipxp; local
1453 struct ipxpcb *ipxp; local
1481 struct ipxpcb *ipxp; local
1512 struct ipxpcb *ipxp = cb->s_ipxpcb; local
1546 struct ipxpcb *ipxp = cb->s_ipxpcb; local
1618 struct ipxpcb *ipxp; local
1648 struct ipxpcb *ipxp; local
[all...]
H A Dipx_pcb.h125 int ipx_pcbbind(struct ipxpcb *ipxp, struct sockaddr *nam,
127 int ipx_pcbconnect(struct ipxpcb *ipxp, struct sockaddr *nam,
129 void ipx_pcbdetach(struct ipxpcb *ipxp);
130 void ipx_pcbdisconnect(struct ipxpcb *ipxp);
131 void ipx_pcbfree(struct ipxpcb *ipxp);
133 void ipx_getpeeraddr(struct ipxpcb *ipxp, struct sockaddr **nam);
134 void ipx_getsockaddr(struct ipxpcb *ipxp, struct sockaddr **nam);
H A Dipx_input.c171 struct ipxpcb *ipxp; local
196 LIST_FOREACH(ipxp, &ipxrawpcb_list, ipxp_list) {
199 IPX_LOCK(ipxp);
200 ipx_input(m1, ipxp);
201 IPX_UNLOCK(ipxp);
308 ipxp = ipx_pcblookup(&ipx->ipx_sna, ipx->ipx_dna.x_port, IPX_WILDCARD);
312 if (ipxp != NULL) {
314 if ((ipxp->ipxp_flags & IPXP_ALL_PACKETS) == 0)
317 IPX_LOCK(ipxp);
319 spx_input(m, ipxp);
[all...]
H A Dipx_var.h118 void ipx_drop(struct ipxpcb *ipxp, int errno);
120 void ipx_input(struct mbuf *m, struct ipxpcb *ipxp);
H A Dspx.h205 void spx_input(struct mbuf *m, struct ipxpcb *ipxp);
/freebsd-10.1-release/usr.sbin/IPXrouted/
H A Dsap_input.c55 struct sockaddr_ipx *ipxp; local
58 ipxp = (struct sockaddr_ipx *)from;
62 ipxdp_ntoa(&ipxp->sipx_addr));
H A Dinput.c78 struct sockaddr_ipx *ipxp; local
81 ipxp = (struct sockaddr_ipx *)from;
85 ipxdp_ntoa(&ipxp->sipx_addr));
101 if (ipx_hosteq(satoipx_addr(ifp->int_addr), ipxp->sipx_addr))
/freebsd-10.1-release/usr.bin/netstat/
H A Dipx.c87 struct ipxpcb *ipxp; local
99 ipxp = LIST_FIRST(&cb);
100 while (ipxp != NULL) {
103 kread((u_long)ipxp, (char *)&ipxpcb, sizeof (ipxpcb));
104 ipxp = LIST_NEXT(&ipxpcb, ipxp_list);

Completed in 138 milliseconds