Searched refs:ntohs (Results 201 - 225 of 523) sorted by relevance
1234567891011>>
/freebsd-9.3-release/contrib/ipfilter/l4check/ |
H A D | l4check.c | 106 ipn->in_outmsk, ntohs(ipn->in_pmin)); 107 printf("%s,%u\n", inet_ntoa(ipn->in_in[0].in4), ntohs(ipn->in_pnext)); 320 ntohs(l4->l4_sin.sin_port), fd);
|
/freebsd-9.3-release/contrib/wpa/src/wps/ |
H A D | wps_upnp_ssdp.c | 410 ntohs(a->client.sin_port)); 425 ntohs(a->client.sin_port)); 718 "%s", inet_ntoa(addr.sin_addr), ntohs(addr.sin_port), buf);
|
/freebsd-9.3-release/sbin/ifconfig/ |
H A D | af_inet6.c | 174 ntohs(*(u_int16_t *)&sin6->sin6_addr.s6_addr[2]); 228 sin->sin6_scope_id = ntohs(index); 256 sin->sin6_scope_id = ntohs(index);
|
/freebsd-9.3-release/sys/netgraph/ |
H A D | ng_nat.c | 742 KASSERT(m->m_pkthdr.len == ntohs(ip->ip_len), 774 m->m_pkthdr.len = m->m_len = ntohs(ip->ip_len); 805 ip->ip_len = ntohs(ip->ip_len);
|
/freebsd-9.3-release/sys/netinet6/ |
H A D | frag6.c | 211 (((ntohs(ip6->ip6_plen) - offset) & 0x7) != 0)) { 310 fragoff = ntohs(ip6f->ip6f_offlg & IP6F_OFF_MASK); 322 frgpartlen = sizeof(struct ip6_hdr) + ntohs(ip6->ip6_plen) - offset;
|
/freebsd-9.3-release/sys/net/ |
H A D | if_ethersubr.c | 210 switch(ntohs(ah->ar_op)) { 601 etype = ntohs(eh->ether_type); 691 m->m_pkthdr.ether_vtag = ntohs(evl->evl_tag); 835 ether_type = ntohs(eh->ether_type); 927 ntohs(l->llc_snap_ether_type) == ETHERTYPE_AT) { 934 ntohs(l->llc_snap_ether_type) == ETHERTYPE_AARP) {
|
H A D | bridgestp.c | 270 (((uint64_t)ntohs(cpdu->cbu_rootpri)) << 48) | 279 (((uint64_t)ntohs(cpdu->cbu_bridgepri)) << 48) | 288 cu->cu_message_age = ntohs(cpdu->cbu_messageage); 289 cu->cu_max_age = ntohs(cpdu->cbu_maxage); 290 cu->cu_hello_time = ntohs(cpdu->cbu_hellotime); 291 cu->cu_forward_delay = ntohs(cpdu->cbu_forwarddelay); 292 cu->cu_pv.pv_dport_id = ntohs(cpdu->cbu_portid); 466 len = ntohs(eh->ether_type);
|
H A D | if_ef.c | 319 ether_type = ntohs(eh->ether_type); 333 ether_type = ntohs(l->llc_un.type_snap.ether_type);
|
/freebsd-9.3-release/contrib/ipfilter/lib/ |
H A D | printfr.c | 238 type = ntohs(fp->fr_icmp); 246 if (ntohs(fp->fr_icmpm) & 0xff)
|
/freebsd-9.3-release/contrib/ofed/management/infiniband-diags/src/ |
H A D | ibroute.c | 108 mask = ntohs(mft[i][mlid%IB_MLIDS_IN_BLOCK]); 127 mask = ntohs(mft[chunk][mlid%IB_MLIDS_IN_BLOCK]);
|
/freebsd-9.3-release/contrib/openbsm/bin/auditdistd/ |
H A D | pjdlog.c | 116 port = ntohs(sin->sin_port); 132 port = ntohs(sin->sin6_port);
|
/freebsd-9.3-release/contrib/pf/pfctl/ |
H A D | pf_print_state.c | 195 printf(":%u", ntohs(port)); 197 printf("[%u]", ntohs(port));
|
/freebsd-9.3-release/contrib/wpa/src/drivers/ |
H A D | driver_wired.c | 134 switch (ntohs(hdr->ethertype)) { 149 ntohs(hdr->ethertype));
|
/freebsd-9.3-release/lib/libc/net/ |
H A D | getnetbydns.c | 185 ancount = ntohs(hp->ancount); /* #/records in the answer section */ 186 qdcount = ntohs(hp->qdcount); /* #/entries in the question section */
|
H A D | hesiod.c | 396 ancount = ntohs(hp->ancount); 397 qdcount = ntohs(hp->qdcount);
|
/freebsd-9.3-release/sbin/hastd/ |
H A D | pjdlog.c | 113 port = ntohs(sin->sin_port); 129 port = ntohs(sin->sin6_port);
|
/freebsd-9.3-release/sys/netncp/ |
H A D | ncp_sock.c | 209 sipx.sipx_port = htons(ntohs(sipx.sipx_port) + 1); 216 sipx.sipx_port = htons((ntohs(sipx.sipx_port)+4) & 0xfff8);
|
/freebsd-9.3-release/sys/ofed/drivers/infiniband/ulp/sdp/ |
H A D | sdp_cma.c | 172 ssk->max_bufs = ntohs(h->bsdh.bufs); 204 ssk->max_bufs = ntohs(h->bsdh.bufs);
|
H A D | sdp_proc.c | 141 destp = ntohs(inet_sk(sk)->dport); 142 srcp = ntohs(inet_sk(sk)->sport);
|
/freebsd-9.3-release/tools/regression/lib/libc/nss/ |
H A D | test-getserv.c | 182 serv->s_name, ntohs(serv->s_port), serv->s_proto); 324 if (ntohs(serv->s_port < 0))
|
/freebsd-9.3-release/usr.sbin/ppp/ |
H A D | auth.c | 443 if (len >= ntohs(authp->in.hdr.length)) 447 ntohs(authp->in.hdr.length), len);
|
/freebsd-9.3-release/usr.sbin/ypserv/ |
H A D | yp_dnslookup.c | 185 id = ntohs(hptr->id); 379 (q = yp_find_dnsqent(ntohs(hptr->id), BY_DNS_ID)) == NULL) {
|
/freebsd-9.3-release/contrib/amd/amd/ |
H A D | rpc_fwd.c | 308 ntohs(fwdto->sin_port));
|
/freebsd-9.3-release/contrib/bind9/lib/dns/ |
H A D | tcpmsg.c | 67 tcpmsg->size = ntohs(tcpmsg->size);
|
/freebsd-9.3-release/contrib/bind9/lib/irs/ |
H A D | getnameinfo.c | 212 snprintf(numserv, sizeof(numserv), "%d", ntohs(port));
|
Completed in 151 milliseconds
1234567891011>>