Home | History | Annotate | Download | only in netatalk

Lines Matching refs:sat_port

95 	if (ddp->ddp_lsat.sat_port != ATADDR_ANYPORT) {	/* shouldn't be bound */
117 if (sat->sat_port != ATADDR_ANYPORT) {
120 if (sat->sat_port < ATPORT_FIRST ||
121 sat->sat_port >= ATPORT_LAST)
124 if (sat->sat_port < ATPORT_RESERVED &&
151 if (sat->sat_port == ATADDR_ANYPORT) {
152 for (sat->sat_port = ATPORT_RESERVED;
153 sat->sat_port < ATPORT_LAST; sat->sat_port++) {
154 if (ddp_ports[sat->sat_port - 1] == 0)
157 if (sat->sat_port == ATPORT_LAST) {
160 ddp->ddp_lsat.sat_port = sat->sat_port;
161 ddp_ports[sat->sat_port - 1] = ddp;
163 for (ddpp = ddp_ports[sat->sat_port - 1]; ddpp;
174 ddp->ddp_pnext = ddp_ports[sat->sat_port - 1];
175 ddp_ports[sat->sat_port - 1] = ddp;
205 if (ddp->ddp_lsat.sat_port == ATADDR_ANYPORT) {
270 if (ddp->ddp_lsat.sat_port == ATADDR_ANYPORT)
280 ddp->ddp_fsat.sat_port = ATADDR_ANYPORT;
301 ddp->ddp_lsat.sat_port = ATADDR_ANYPORT;
329 if (ddp->ddp_lsat.sat_port != ATADDR_ANYPORT &&
330 ddp_ports[ddp->ddp_lsat.sat_port - 1] != NULL) {
334 ddp_ports[ddp->ddp_lsat.sat_port - 1] = ddp->ddp_pnext;
387 if (ddp->ddp_fsat.sat_port != ATADDR_ANYPORT)
501 if (ddp->ddp_fsat.sat_port != ATADDR_ANYPORT)
510 if (ddp->ddp_fsat.sat_port == ATADDR_ANYPORT)
563 if (to->sat_port < ATPORT_FIRST || to->sat_port >= ATPORT_LAST)
570 for (ddp = ddp_ports[to->sat_port - 1]; ddp; ddp = ddp->ddp_pnext) {