Lines Matching defs:sp
1293 register struct servent *sp;
1295 sp = getservbyname("smtp", "tcp");
1296 if (sp == NULL)
1302 port = sp->s_port;
1741 register struct servent *sp;
1743 sp = getservbyname(port, "tcp");
1744 if (sp == NULL)
1748 d->d_addr.sin.sin_port = sp->s_port;
1765 register struct servent *sp;
1767 sp = getservbyname(port, "tcp");
1768 if (sp == NULL)
1772 d->d_addr.sin6.sin6_port = sp->s_port;
1789 register struct servent *sp;
1791 sp = getservbyname(port, "tcp");
1792 if (sp == NULL)
1796 portno = sp->s_port;
2456 register struct servent *sp = getservbyname("smtp", "tcp");
2458 if (sp == NULL)
2466 port = sp->s_port;
3398 register struct servent *sp;
3541 sp = getservbyname("auth", "tcp");
3542 if (sp != NULL)
3543 port4 = sp->s_port;
3577 sp = getservbyname("auth", "tcp");
3578 if (sp != NULL)
3579 port6 = sp->s_port;