/freebsd-11-stable/stand/libsa/ |
H A D | rarp.c | 195 printf("bad op=0x%x\n", ntohs(ap->arp_op));
|
/freebsd-11-stable/sys/netpfil/pf/ |
H A D | pf_osfp.c | 116 fp.fp_psize = ntohs(ip->ip_len); 125 fp.fp_psize = sizeof(struct ip6_hdr) + ntohs(ip6->ip6_plen); 134 fp.fp_wsize = ntohs(tcp->th_win); 196 srcname, ntohs(tcp->th_sport),
|
/freebsd-11-stable/usr.sbin/bluetooth/sdpd/ |
H A D | server.c | 439 sizeof(*pdu) + (pdu->len = ntohs(pdu->len)) == len) { 507 pdu->pid, ntohs(pdu->tid), error); 513 pdu->pid, ntohs(pdu->tid), pdu->len, len, error); 520 pdu->pid, ntohs(pdu->tid), error);
|
/freebsd-11-stable/usr.sbin/ppp/ |
H A D | nat_cmd.c | 340 *port = ntohs(sp->s_port); 511 bp->m_len = ntohs(((struct ip *)MBUF_CTOP(bp))->ip_len); 534 bp->m_len = ntohs(((struct ip *)MBUF_CTOP(bp))->ip_len); 568 len = ntohs(((struct ip *)fptr)->ip_len);
|
H A D | tcp.c | 202 inet_ntoa(sock.sin_addr), ntohs(sock.sin_port));
|
/freebsd-11-stable/contrib/ntp/include/ |
H A D | ntp_request.h | 227 #define INFO_ERR(err_nitems) ((u_short)((ntohs(err_nitems)>>12)&0xf)) 228 #define INFO_NITEMS(err_nitems) ((u_short)(ntohs(err_nitems)&0xfff)) 232 #define INFO_MBZ(mbz_itemsize) ((ntohs(mbz_itemsize)>>12)&0xf) 233 #define INFO_ITEMSIZE(mbz_itemsize) ((u_short)(ntohs(mbz_itemsize)&0xfff))
|
/freebsd-11-stable/sys/dev/mlx5/mlx5_en/ |
H A D | mlx5_en_tx.c | 143 eth_type = ntohs(eh->evl_proto); 146 eth_type = ntohs(eh->evl_encap_proto); 201 eth_type = ntohs(eh->evl_proto); 204 eth_type = ntohs(eh->evl_encap_proto);
|
/freebsd-11-stable/contrib/sendmail/src/ |
H A D | sasl.c | 281 sm_snprintf(pbuf, sizeof(pbuf), "%d", ntohs(addr->sin.sin_port));
|
/freebsd-11-stable/contrib/ipfilter/lib/ |
H A D | printipfexpr.c | 158 PRINTF("%d", ntohs(array[i + 4]));
|
/freebsd-11-stable/contrib/ipfilter/ipsend/ |
H A D | resend.c | 109 len = ntohs(ip->ip_len);
|
/freebsd-11-stable/sys/netgraph/ |
H A D | ng_checksum.c | 324 plen = ntohs(ip4->ip_len); 435 plen = ntohs(ip6->ip6_plen) + hlen; 589 etype = ntohs(eh->ether_type); 600 etype = ntohs(vh->etype);
|
/freebsd-11-stable/contrib/ipfilter/tools/ |
H A D | ipmon.c | 423 port = ntohs(s->s_port); 427 port = ntohs(s->s_port); 484 port = ntohs(port); 1165 ipoff = ntohs(ip->ip_off); 1170 plen = ntohs(ip->ip_len); 1181 plen = hl + ntohs(ip6->ip6_plen); 1234 ntohs(tp->th_win)); 1267 i = ntohs(ipc->ip_len); 1274 ipoff = ntohs(ipc->ip_off); 1316 ntohs(ip [all...] |
/freebsd-11-stable/contrib/netcat/ |
H A D | socks.c | 277 host, ntohs(serverport)); 281 host, ntohs(serverport));
|
/freebsd-11-stable/libexec/bootpd/tools/bootptest/ |
H A D | bootptest.c | 246 bootps_port = ntohs((u_short) sep->s_port); 279 bootpc_port = ntohs(sep->s_port);
|
/freebsd-11-stable/contrib/bsnmp/snmp_mibII/ |
H A D | mibII_tcp.c | 166 oid->index.subs[4] = ntohs(tp->xt_inp.inp_lport); 172 oid->index.subs[9] = ntohs(tp->xt_inp.inp_fport);
|
/freebsd-11-stable/sys/netinet/ |
H A D | ip_fastfwd.c | 373 ip_len = ntohs(ip->ip_len); 374 ip_off = ntohs(ip->ip_off);
|
H A D | in.h | 111 uint16_t ntohs(uint16_t); 120 #define ntohs(x) __ntohs(x) macro
|
/freebsd-11-stable/sys/netipsec/ |
H A D | subr_ipsec.c | 113 src->sin6.sin6_scope_id = ntohs(ip6->ip6_src.s6_addr16[1]); 122 dst->sin6.sin6_scope_id = ntohs(ip6->ip6_dst.s6_addr16[1]);
|
/freebsd-11-stable/stand/i386/libi386/ |
H A D | smbios.c | 194 f2 = ntohs(SMBIOS_GET16(addr, 4)); 195 f3 = ntohs(SMBIOS_GET16(addr, 6));
|
/freebsd-11-stable/contrib/wpa/src/drivers/ |
H A D | driver_wired.c | 98 switch (ntohs(hdr->ethertype)) { 113 ntohs(hdr->ethertype));
|
/freebsd-11-stable/usr.bin/procstat/ |
H A D | procstat_files.c | 110 ntohs(sin->sin_port)); 118 ntohs(sin6->sin6_port));
|
/freebsd-11-stable/sys/netinet6/ |
H A D | scope6.c | 360 zoneid = ntohs(sin6->sin6_addr.s6_addr16[1]); 504 zoneid = ntohs(in6_getscope(dst));
|
/freebsd-11-stable/sys/contrib/ipfilter/netinet/ |
H A D | ip_irc_pxy.c | 388 if (ntohs(sp) < 1024) 411 fi.fin_data[0] = ntohs(sp);
|
/freebsd-11-stable/crypto/heimdal/kdc/ |
H A D | connect.c | 289 krb5_warn(context, errno, "bind %s/%d", a_str, ntohs(port)); 299 krb5_warn(context, errno, "listen %s/%d", a_str, ntohs(port)); 348 ntohs(ports[i].port), 777 ntohs(d[idx].port)); 783 ntohs(d[idx].port)); 809 ntohs(d[idx].port));
|
/freebsd-11-stable/contrib/unbound/iterator/ |
H A D | iter_delegpt.c | 342 if(ntohs(rep->rrsets[i]->rk.type) == LDNS_RR_TYPE_NS) 387 if(ntohs(s->rk.type) == LDNS_RR_TYPE_A) { 390 } else if(ntohs(s->rk.type) == LDNS_RR_TYPE_AAAA) { 474 if(ntohs(rrset->rk.type) == LDNS_RR_TYPE_NS) 476 else if(ntohs(rrset->rk.type) == LDNS_RR_TYPE_A) 478 else if(ntohs(rrset->rk.type) == LDNS_RR_TYPE_AAAA)
|