Searched refs:htons (Results 201 - 225 of 608) sorted by relevance

1234567891011>>

/freebsd-10.0-release/crypto/heimdal/kadmin/
H A Dkadmin.c200 conf.kadmind_port = htons(server_port);
H A Dkadmind.c170 debug_port = htons(atoi(port_str));
/freebsd-10.0-release/crypto/openssh/
H A Dentropy.c97 addr_in->sin_port = htons(tcp_port);
/freebsd-10.0-release/crypto/openssh/openbsd-compat/
H A Dfake-rfc2553.c174 port = htons(port);
/freebsd-10.0-release/lib/libc/rpc/
H A Dpmap_rmt.c98 addr->sin_port = htons(PMAPPORT);
/freebsd-10.0-release/sbin/routed/
H A Dinput.c217 } else if (from->sin_port == htons(RIP_PORT)) {
225 if (from->sin_port == htons(RIP_PORT)) {
295 if (from->sin_port != htons(RIP_PORT)) {
440 if (from->sin_port != htons(RIP_PORT)) {
/freebsd-10.0-release/sys/netinet/libalias/
H A Dalias_proxy.c363 pip->ip_len = htons(ntohs(pip->ip_len) + slen);
437 pip->ip_len = htons(ntohs(pip->ip_len) + OPTION_LEN_BYTES);
855 proxy_entry->proxy_port = htons(proxy_port);
856 proxy_entry->server_port = htons(server_port);
/freebsd-10.0-release/sys/ofed/drivers/net/mlx4/
H A Den_selftest.c71 ethh->h_proto = htons(ETH_P_ARP);
/freebsd-10.0-release/tools/regression/sockets/accf_data_attach/
H A Daccf_data_attach.c98 sin.sin_port = htons(8080);
/freebsd-10.0-release/usr.sbin/bhyve/
H A Dmevent_test.c208 sin.sin_port = htons(TEST_PORT);
/freebsd-10.0-release/usr.sbin/inetd/
H A Dbuiltins.c543 sin4[0].sin_port = htons(lport);
545 sin4[1].sin_port = htons(fport);
553 sin6[0].sin6_port = htons(lport);
555 sin6[1].sin6_port = htons(fport);
/freebsd-10.0-release/usr.sbin/ppp/
H A Dtcp.c74 dest.sin_port = htons(atoi(port));
/freebsd-10.0-release/usr.sbin/rpc.lockd/
H A Dlockd.c604 sin->sin_port = htons(0);
615 sin6->sin6_port = htons(0);
906 sin->sin_port = htons(0);
917 sin6->sin6_port = htons(0);
/freebsd-10.0-release/usr.sbin/wake/
H A Dwake.c164 pkt.hdr.ether_type = htons(0);
/freebsd-10.0-release/contrib/ipfilter/ipsend/
H A Dipsend.c179 ph.h.len = htons(len);
321 tcp->th_dport = htons(atoi(optarg));
/freebsd-10.0-release/contrib/wpa/src/eap_common/
H A Deap_pwd_common.c50 L = htons(resultbitlen);
53 i = htons(ctr);
/freebsd-10.0-release/contrib/wpa/src/wps/
H A Dhttp_client.c227 dst->sin_port = htons(atoi(port));
229 dst->sin_port = htons(80);
/freebsd-10.0-release/lib/libc/iconv/
H A Dcitrus_db_factory.c175 *p = htons(val);
234 val = htons(val);
/freebsd-10.0-release/lib/libsdp/
H A Dsearch.c158 xpdu.pdu.tid = htons(ss->tid);
159 xpdu.pdu.len = htons(req_cs - ss->req);
/freebsd-10.0-release/lib/libstand/
H A Dstand.h374 extern uint16_t htons(uint16_t);
382 #define htons(x) __htons(x) macro
/freebsd-10.0-release/sys/dev/sfxge/
H A Dsfxge_tx.c725 KASSERT(tso->protocol == htons(ETHERTYPE_IP),
731 KASSERT(tso->protocol == htons(ETHERTYPE_IPV6),
797 if (tso->protocol == htons(ETHERTYPE_VLAN)) {
807 if (tso->protocol == htons(ETHERTYPE_IP)) {
812 KASSERT(tso->protocol == htons(ETHERTYPE_IPV6),
949 if (tso->protocol == htons(ETHERTYPE_IP)) {
951 tsoh_iph->ip_len = htons(ip_length);
958 tsoh_iph->ip6_plen = htons(ip_length - sizeof(*tsoh_iph));
/freebsd-10.0-release/sys/netgraph/netflow/
H A Dnetflow.c70 htons(addr2 ^ (addr2 >> 16))) ^ \
71 port1 ^ htons(port2)) & \
77 htons(addr2 ^ (addr2 >> 16))) & \
227 dgram->header.version = htons(NETFLOW_V5);
719 if ((ip->ip_off & htons(IP_OFFMASK)) == 0)
1059 header->count = htons(header->count);
1089 rec->i_ifx = htons(fle->f.fle_i_ifx);
1090 rec->o_ifx = htons(fle->f.fle_o_ifx);
/freebsd-10.0-release/sys/netgraph/
H A Dng_etf.c308 htons(f->ethertype))) {
325 fil->ethertype = htons(f->ethertype);
H A Dng_rfc1490.c417 = htons(ETHERTYPE_IP); /* PID */
423 *((u_int16_t *)mtod(m, u_int16_t *)) = htons(ETHERTYPE_IP);
/freebsd-10.0-release/sys/netinet/
H A Din.h109 uint16_t htons(uint16_t);
118 #define htons(x) __htons(x) macro

Completed in 325 milliseconds

1234567891011>>