Searched refs:portnum (Results 26 - 41 of 41) sorted by relevance

12

/freebsd-10.3-release/contrib/ipfilter/tools/
H A Dipscan_y.y59 %type <num> portnum
165 | IPSL_REDIRECT '(' ipaddr ',' portnum ')'
178 portnum: label
/freebsd-10.3-release/sys/cam/ctl/
H A Dctl.h181 void ctl_portDB_changed(int portnum);
/freebsd-10.3-release/usr.sbin/nfsuserd/
H A Dnfsuserd.c108 u_short portnum; local
275 portnum = htons(udptransp->xp_port);
277 printf("portnum=0x%x\n", portnum);
279 if (nfssvc(NFSSVC_NFSUSERDPORT, (caddr_t)&portnum) < 0) {
/freebsd-10.3-release/usr.bin/rpcinfo/
H A Drpcinfo.c171 u_short portnum = 0; local
205 portnum = (u_short) strtol(optarg, &strptr, 10);
274 if (portnum != 0)
280 ip_ping(portnum, "udp", argc - optind, argv + optind);
284 ip_ping(portnum, "tcp", argc - optind, argv + optind);
365 * If portnum is 0, then go and get the address from portmapper, which happens
372 ip_ping(u_short portnum, const char *trans, int argc, char **argv) argument
398 addr.sin_port = htons(portnum);
422 addr.sin_port = htons(portnum);
450 addr.sin_port = htons(portnum);
[all...]
/freebsd-10.3-release/sys/dev/sfxge/common/
H A Defx_nic.c125 unsigned int portnum; local
129 portnum = EFX_OWORD_FIELD(oword, FRF_CZ_CS_PORT_NUM);
130 if ((portnum == 1) || (portnum == 2)) {
135 } else if (portnum == 0) {
/freebsd-10.3-release/contrib/ofed/management/opensm/libvendor/
H A Dosm_vendor_ibumad.c590 attr->port_num = ca.ports[j]->portnum;
690 p_vend->umad_port.portnum)) < 0) {
793 p_vend->umad_port.portnum,
798 p_vend->umad_port.ca_name, p_vend->umad_port.portnum);
H A Dosm_vendor_ibumad_sa.c221 p_vend->umad_port.portnum, &port) < 0)
/freebsd-10.3-release/crypto/heimdal/appl/gssmask/
H A Dgssmask.c685 int32_t portnum; local
688 ret32(c, portnum);
691 "logging port on peer is: %d", (int)portnum);
693 socket_set_port((struct sockaddr *)(&c->sa), htons(portnum));
/freebsd-10.3-release/contrib/ntp/sntp/libevent/
H A Devutil.c947 * - Look up the port based on 'servname', and store it in *portnum,
959 struct evutil_addrinfo *hints, struct evutil_addrinfo **res, int *portnum)
1070 *portnum = port;
1341 int portnum=-1, need_np_hack, err; local
1393 && ((portnum=parse_numeric_servname(servname)) >= 0);
1397 NULL,servname,&hints, res, &portnum);
1419 apply_numeric_port_hack(portnum, res);
958 evutil_getaddrinfo_common_(const char *nodename, const char *servname, struct evutil_addrinfo *hints, struct evutil_addrinfo **res, int *portnum) argument
H A Dutil-internal.h369 struct evutil_addrinfo *hints, struct evutil_addrinfo **res, int *portnum);
H A Dhttp.c4326 int portnum = 0; local
4330 portnum = (portnum * 10) + (*s - '0');
4331 if (portnum < 0)
4333 if (portnum > 65535)
4337 return portnum;
/freebsd-10.3-release/contrib/ofed/management/libibmad/include/infiniband/
H A Dmad.h813 int ib_resolve_self(ib_portid_t *portid, int *portnum, ibmad_gid_t *gid);
823 int ib_resolve_self_via(ib_portid_t *portid, int *portnum, ibmad_gid_t *gid,
/freebsd-10.3-release/contrib/libpcap/
H A Dpcap-sita.c415 int portnum; local
417 portnum = ((u->chassis - 1) * 64) + ((u->geoslot - 1) * 8) + IOPportnum + 1;
418 sprintf(static_buf, "%d", portnum);
/freebsd-10.3-release/crypto/openssh/regress/
H A DMakefile62 portnum \
/freebsd-10.3-release/contrib/ntp/sntp/libevent/test/
H A Dregress_http.c1079 ev_uint16_t portnum = 0; local
1083 tt_assert(regress_dnsserver(data->base, &portnum, search_table));
1090 evutil_snprintf(address, sizeof(address), "127.0.0.1:%d", portnum);
3830 ev_uint16_t portnum = 0; local
3833 tt_assert(regress_dnsserver(data->base, &portnum, ipv6_search_table));
3840 evutil_snprintf(address, sizeof(address), "127.0.0.1:%d", portnum);
/freebsd-10.3-release/sys/fs/nfs/
H A Dnfs_commonsubs.c3919 uint32_t portnum, *tl; local
3989 portnum = ntohl(saddr.s_addr);
3990 portv = (uint16_t)((portnum >> 16) |
3991 (portnum & 0xff));

Completed in 533 milliseconds

12