/freebsd-11-stable/stand/libsa/ |
H A D | ip.c | 114 ip->ip_len = htons(len); 212 if (ah->ar_op == htons(ARPOP_REQUEST)) { 280 ip->ip_len = htons(sizeof(*ip)); 374 ipr->ip_hdr->ip_len = htons(n);
|
H A D | bootparam.c | 158 d->myport = htons(--rpc_port); 272 d->myport = htons(--rpc_port);
|
/freebsd-11-stable/sys/netinet/libalias/ |
H A D | alias_ftp.c | 323 GetAliasAddress(lnk), htons(FTP_CONTROL_PORT_NUMBER - 1), 324 htons(la->true_port), GET_ALIAS_PORT, IPPROTO_TCP); 662 GetAliasAddress(lnk), htons(la->true_port), 0, GET_ALIAS_PORT, 755 new_len = htons(hlen +
|
/freebsd-11-stable/contrib/ipfilter/ipsend/ |
H A D | arp.c | 108 san.sin_port = htons(1);
|
/freebsd-11-stable/contrib/unbound/services/cache/ |
H A D | rrset.c | 287 key.rk.type = htons(qtype); 288 key.rk.rrset_class = htons(qclass); 450 key.rk.rrset_class = htons(dclass); 451 key.rk.type = htons(type);
|
/freebsd-11-stable/sys/netinet/ |
H A D | sctp_asconf.c | 91 aph->ph.param_type = htons(SCTP_SUCCESS_REPORT); 94 aph->ph.param_length = htons(aph->ph.param_length); 133 aph->ph.param_type = htons(SCTP_ERROR_CAUSE_IND); 134 aph->ph.param_length = htons(param_length); 137 error->code = htons(cause); 138 error->length = htons(cause_length); 808 ack_cp->ch.chunk_length = htons(ack_cp->ch.chunk_length); 1584 if (htons(eh->length) + sizeof(struct sctp_error_cause) > 1585 htons(aph->ph.param_length)) { 1591 if (htons(p [all...] |
/freebsd-11-stable/contrib/ipfilter/iplang/ |
H A D | iplang_y.y | 613 return htons(atoi(name)); 841 ip->ip_id = htons(id++); 881 ip->ip_off = htons(strtol(*arg, NULL, 0)); 932 ip->ip_id = htons(strtol(*arg, NULL, 0)); 970 tcp->th_win = htons(4096); 1049 tcp->th_urp = htons(strtol(*arg, NULL, 0)); 1058 tcp->th_win = htons(strtol(*arg, NULL, 0)); 1275 ip->ip_len = htons(ip->ip_len); 1524 icmp->icmp_id = htons(arg); 1531 icmp->icmp_seq = htons(ar [all...] |
/freebsd-11-stable/contrib/netbsd-tests/lib/libc/net/ |
H A D | h_dns_server.c | 297 saddr.sin.sin_port = htons(53); 304 saddr.sin6.sin6_port = htons(53);
|
/freebsd-11-stable/contrib/unbound/iterator/ |
H A D | iter_priv.c | 253 sa.sin_port = (in_port_t)htons(UNBOUND_DNS_PORT); 276 sa.sin6_port = (in_port_t)htons(UNBOUND_DNS_PORT);
|
/freebsd-11-stable/crypto/heimdal/lib/roken/ |
H A D | roken_gethostby.c | 73 dns_addr.sin_port = htons(proxy_port); 79 dns_addr.sin_port = htons(dns_port);
|
/freebsd-11-stable/sys/netinet6/ |
H A D | in6_fib.c | 190 sin6.sin6_addr.s6_addr16[1] = htons(scopeid & 0xffff); 239 sin6.sin6_addr.s6_addr16[1] = htons(scopeid & 0xffff);
|
/freebsd-11-stable/tools/regression/netinet/ipbroadcast/ |
H A D | ipbroadcast.c | 274 laddr.sin_port = htons(portno); 287 dsin.sin_port = htons(portno);
|
/freebsd-11-stable/tools/regression/sockets/sigpipe/ |
H A D | sigpipe.c | 201 sin.sin_port = htons(port); 232 sin.sin_port = htons(port);
|
/freebsd-11-stable/sys/dev/ep/ |
H A D | if_ep_isa.c | 209 isa_id = (htons(data) << 16); 211 isa_id |= htons(data);
|
/freebsd-11-stable/usr.sbin/nfscbd/ |
H A D | nfscbd.c | 227 inetaddr.sin_port = htons(myport); 266 inetaddr.sin_port = htons(myport);
|
/freebsd-11-stable/tools/test/netfibs/ |
H A D | reflect.c | 178 from.sin6_port = htons(port); /* This only gives us a ::1:port ::1:port binding */ 227 sin6.sin6_port = htons(port);
|
/freebsd-11-stable/contrib/netbsd-tests/net/config/ |
H A D | netconfig.c | 214 icmp.icmp_id = htons(37); 215 icmp.icmp_cksum = htons(0xf7da); /* precalc */
|
/freebsd-11-stable/sys/netpfil/ipfw/pmod/ |
H A D | tcpmod.c | 212 ret = tcpmod_ipv4_setmss(&args->m, htons(icmd->arg1)); 217 ret = tcpmod_ipv6_setmss(&args->m, htons(icmd->arg1));
|
/freebsd-11-stable/usr.sbin/ypbind/ |
H A D | yp_ping.c | 121 address->sin_port = htons(PMAPPORT); 237 sin.sin_port = htons(__pmap_getport(&sin, YPPROG,
|
/freebsd-11-stable/usr.sbin/bluetooth/sdpd/ |
H A D | sar.c | 291 pdu.len = htons(sizeof(bcount) + bcount + 1 + cs[0]); 293 bcount = htons(bcount);
|
/freebsd-11-stable/sys/netpfil/pf/ |
H A D | pf_lb.c | 255 key.port[1] = htons(low); 257 *nport = htons(low); 273 key.port[1] = htons(tmp); 276 *nport = htons(tmp); 282 key.port[1] = htons(tmp); 285 *nport = htons(tmp); 666 *nport = htons((uint16_t)tmp_nport); 668 *nport = htons(r->rpool.proxy_port[0]);
|
/freebsd-11-stable/contrib/libpcap/ |
H A D | pcap-bt-monitor-linux.c | 138 bthdr->adapter_id = htons(hdr.index); 139 bthdr->opcode = htons(hdr.opcode);
|
/freebsd-11-stable/contrib/llvm-project/lldb/source/Host/common/ |
H A D | SocketAddress.cpp | 166 m_socket_addr.sa_ipv4.sin_port = htons(port); 170 m_socket_addr.sa_ipv6.sin6_port = htons(port);
|
/freebsd-11-stable/contrib/ipfilter/ |
H A D | ip_msnrpc_pxy.c | 302 tcp2->th_win = htons(8192); 304 fi.fin_data[0] = htons(mri->mri_rport);
|
/freebsd-11-stable/contrib/ipfilter/tools/ |
H A D | ipsyncs.c | 101 sin.sin_port = htons(atoi(argv[2])); 103 sin.sin_port = htons(43434);
|