Searched refs:usipx (Results 1 – 2 of 2) sorted by relevance
167 int ipxrtr_route_packet(struct sock *sk, struct sockaddr_ipx *usipx, in ipxrtr_route_packet() argument180 if (!usipx->sipx_network && ipx_primary_net) { in ipxrtr_route_packet()181 usipx->sipx_network = ipx_primary_net->if_netnum; in ipxrtr_route_packet()184 rt = ipxrtr_lookup(usipx->sipx_network); in ipxrtr_route_packet()209 ipx->ipx_type = usipx->sipx_type; in ipxrtr_route_packet()228 IPX_SKB_CB(skb)->ipx_dest_net = usipx->sipx_network; in ipxrtr_route_packet()229 memcpy(ipx->ipx_dest.node, usipx->sipx_node, IPX_NODE_LEN); in ipxrtr_route_packet()230 ipx->ipx_dest.sock = usipx->sipx_port; in ipxrtr_route_packet()
1694 DECLARE_SOCKADDR(struct sockaddr_ipx *, usipx, msg->msg_name); in ipx_sendmsg()1710 if (usipx) { in ipx_sendmsg()1730 if (msg->msg_namelen < sizeof(*usipx) || in ipx_sendmsg()1731 usipx->sipx_family != AF_IPX) in ipx_sendmsg()1738 usipx = &local_sipx; in ipx_sendmsg()1739 usipx->sipx_family = AF_IPX; in ipx_sendmsg()1740 usipx->sipx_type = ipxs->type; in ipx_sendmsg()1741 usipx->sipx_port = ipxs->dest_addr.sock; in ipx_sendmsg()1742 usipx->sipx_network = ipxs->dest_addr.net; in ipx_sendmsg()1743 memcpy(usipx->sipx_node, ipxs->dest_addr.node, IPX_NODE_LEN); in ipx_sendmsg()[all …]