Searched refs:htons (Results 151 - 175 of 651) sorted by relevance

1234567891011>>

/freebsd-10-stable/sys/netinet/libalias/
H A Dalias_ftp.c323 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 + slen);
/freebsd-10-stable/tools/regression/netinet/ipdivert/
H A Dipdivert.c102 sin.sin_port = htons(port);
/freebsd-10-stable/tools/tools/mctest/
H A Dmctest.cc150 local.sin_port = htons(DEFAULT_PORT);
186 recvd.sin_port = htons(base_port + client);
254 addr.sin_port = htons(args->client);
321 addr.sin_port = htons(DEFAULT_PORT);
/freebsd-10-stable/tools/tools/net80211/wesside/udps/
H A Dudps.c147 s_in.sin_port = htons(port);
/freebsd-10-stable/usr.bin/rlogin/
H A Drlogin.c494 ws.ws_row = htons(winsize.ws_row);
495 ws.ws_col = htons(winsize.ws_col);
496 ws.ws_xpixel = htons(winsize.ws_xpixel);
497 ws.ws_ypixel = htons(winsize.ws_ypixel);
/freebsd-10-stable/usr.bin/talk/
H A Dinvite.c81 msg.addr.sa_family = htons(my_addr.sin_family);
/freebsd-10-stable/usr.sbin/bluetooth/sdpd/
H A Dsrr.c121 pdu.len = htons(srv->fdidx[fd].rsp_size);
/freebsd-10-stable/usr.sbin/ppp/
H A Dtcpmss.c134 *mss = htons(maxmss);
/freebsd-10-stable/usr.sbin/ypset/
H A Dypset.c68 if ((port = htons(getrpcport(server, YPPROG, YPPROC_NULL, IPPROTO_UDP))) == 0)
/freebsd-10-stable/contrib/unbound/services/cache/
H A Drrset.c252 key.rk.type = htons(qtype);
253 key.rk.rrset_class = htons(qclass);
414 key.rk.rrset_class = htons(dclass);
415 key.rk.type = htons(type);
/freebsd-10-stable/sys/net/
H A Dif_ef.c402 type = htons(ETHERTYPE_IPX);
408 type = htons(m->m_pkthdr.len);
422 type = htons(m->m_pkthdr.len);
431 type = htons(m->m_pkthdr.len);
/freebsd-10-stable/contrib/netbsd-tests/net/icmp/
H A Dt_forward.c93 sin.sin_port = htons(33434);
/freebsd-10-stable/contrib/netbsd-tests/lib/librumpclient/
H A Dt_fd.c126 sin.sin_port = htons(12345);
/freebsd-10-stable/contrib/netbsd-tests/sys/netatalk/
H A Dt_print.c49 { htons(3), 255 },
/freebsd-10-stable/usr.sbin/traceroute6/
H A Dtraceroute6.c475 ident = htons(getpid() & 0xffff); /* same as ping6 */
835 Nxt.sin6_port = htons(DUMMY_PORT);
861 Src.sin6_port = htons(0);
1057 Dst.sin6_port = htons(port + seq);
1070 icp->icmp6_seq = htons(seq);
1276 ((struct icmp6_hdr *)up)->icmp6_seq == htons(seq))
1281 if (((struct udphdr *)up)->uh_sport == htons(srcport) &&
1282 ((struct udphdr *)up)->uh_dport == htons(port + seq))
1294 icp->icmp6_seq == htons(seq))
/freebsd-10-stable/sys/netinet/
H A Dsctp_asconf.c91 aph->ph.param_type = htons(SCTP_SUCCESS_REPORT);
94 aph->ph.param_length = htons(aph->ph.param_length);
121 aph->ph.param_type = htons(SCTP_ERROR_CAUSE_IND);
122 error->code = htons(cause);
139 error->length = htons(error->length);
140 aph->ph.param_length = htons(aph->ph.param_length);
791 ack_cp->ch.chunk_length = htons(ack_cp->ch.chunk_length);
1556 if (htons(eh->length) + sizeof(struct sctp_error_cause) >
1557 htons(aph->ph.param_length)) {
1563 if (htons(p
[all...]
/freebsd-10-stable/contrib/ipfilter/iplang/
H A Diplang_y.y646 return htons(atoi(name));
878 ip->ip_id = htons(id++);
918 ip->ip_off = htons(strtol(*arg, NULL, 0));
969 ip->ip_id = htons(strtol(*arg, NULL, 0));
1007 tcp->th_win = htons(4096);
1086 tcp->th_urp = htons(strtol(*arg, NULL, 0));
1095 tcp->th_win = htons(strtol(*arg, NULL, 0));
1312 ip->ip_len = htons(ip->ip_len);
1561 icmp->icmp_id = htons(arg);
1568 icmp->icmp_seq = htons(ar
[all...]
/freebsd-10-stable/contrib/ipfilter/
H A Dip_msnrpc_pxy.c302 tcp2->th_win = htons(8192);
304 fi.fin_data[0] = htons(mri->mri_rport);
/freebsd-10-stable/contrib/ipfilter/tools/
H A Dipsyncs.c101 sin.sin_port = htons(atoi(argv[2]));
103 sin.sin_port = htons(43434);
/freebsd-10-stable/contrib/netbsd-tests/lib/libc/net/
H A Dh_dns_server.c297 saddr.sin.sin_port = htons(53);
304 saddr.sin6.sin6_port = htons(53);
/freebsd-10-stable/contrib/ofed/libmlx4/src/
H A Dsrq.c58 next->next_wqe_index = htons(ind);
163 next->next_wqe_index = htons((i + 1) & (srq->max - 1));
/freebsd-10-stable/crypto/heimdal/lib/roken/
H A Droken_gethostby.c73 dns_addr.sin_port = htons(proxy_port);
79 dns_addr.sin_port = htons(dns_port);
/freebsd-10-stable/lib/libstand/
H A Dbootparam.c162 d->myport = htons(--rpc_port);
281 d->myport = htons(--rpc_port);
/freebsd-10-stable/sys/dev/ep/
H A Dif_ep_isa.c209 isa_id = (htons(data) << 16);
211 isa_id |= htons(data);
/freebsd-10-stable/tools/regression/netinet/ipbroadcast/
H A Dipbroadcast.c274 laddr.sin_port = htons(portno);
287 dsin.sin_port = htons(portno);

Completed in 325 milliseconds

1234567891011>>