• Home
  • Raw
  • Download

Lines Matching refs:sat

135 						struct sockaddr_at *sat)  in atalk_find_or_insert_socket()  argument
144 if (at->src_net == sat->sat_addr.s_net && in atalk_find_or_insert_socket()
145 at->src_node == sat->sat_addr.s_node && in atalk_find_or_insert_socket()
146 at->src_port == sat->sat_port) in atalk_find_or_insert_socket()
1074 static int atalk_pick_and_bind_port(struct sock *sk, struct sockaddr_at *sat) in atalk_pick_and_bind_port() argument
1080 for (sat->sat_port = ATPORT_RESERVED; in atalk_pick_and_bind_port()
1081 sat->sat_port < ATPORT_LAST; in atalk_pick_and_bind_port()
1082 sat->sat_port++) { in atalk_pick_and_bind_port()
1088 if (at->src_net == sat->sat_addr.s_net && in atalk_pick_and_bind_port()
1089 at->src_node == sat->sat_addr.s_node && in atalk_pick_and_bind_port()
1090 at->src_port == sat->sat_port) in atalk_pick_and_bind_port()
1096 at_sk(sk)->src_port = sat->sat_port; in atalk_pick_and_bind_port()
1112 struct sockaddr_at sat; in atalk_autobind() local
1119 at->src_net = sat.sat_addr.s_net = ap->s_net; in atalk_autobind()
1120 at->src_node = sat.sat_addr.s_node = ap->s_node; in atalk_autobind()
1122 n = atalk_pick_and_bind_port(sk, &sat); in atalk_autobind()
1243 struct sockaddr_at sat; in atalk_getname() local
1254 memset(&sat, 0, sizeof(sat)); in atalk_getname()
1261 sat.sat_addr.s_net = at->dest_net; in atalk_getname()
1262 sat.sat_addr.s_node = at->dest_node; in atalk_getname()
1263 sat.sat_port = at->dest_port; in atalk_getname()
1265 sat.sat_addr.s_net = at->src_net; in atalk_getname()
1266 sat.sat_addr.s_node = at->src_node; in atalk_getname()
1267 sat.sat_port = at->src_port; in atalk_getname()
1270 sat.sat_family = AF_APPLETALK; in atalk_getname()
1271 memcpy(uaddr, &sat, sizeof(sat)); in atalk_getname()
1770 DECLARE_SOCKADDR(struct sockaddr_at *, sat, msg->msg_name); in atalk_recvmsg()
1771 sat->sat_family = AF_APPLETALK; in atalk_recvmsg()
1772 sat->sat_port = ddp->deh_sport; in atalk_recvmsg()
1773 sat->sat_addr.s_node = ddp->deh_snode; in atalk_recvmsg()
1774 sat->sat_addr.s_net = ddp->deh_snet; in atalk_recvmsg()
1775 msg->msg_namelen = sizeof(*sat); in atalk_recvmsg()