Searched refs:htons (Results 126 - 150 of 634) sorted by relevance

1234567891011>>

/freebsd-10.3-release/sys/netpfil/ipfw/
H A Dip_fw_nat.c170 r->laddr, htons(r->lport + i), r->raddr,
171 htons(remotePortCopy), r->paddr,
172 htons(r->pport + i), r->proto);
196 s->addr, htons(s->port));
334 if ((ip->ip_off & htons(IP_OFFMASK)) == 0 &&
350 htons(ip->ip_p + ip_len - (ip->ip_hl << 2)));
/freebsd-10.3-release/libexec/bootpd/bootpgw/
H A Dbootpgw.c413 bind_addr.sin_port = htons(bootps_port);
594 send_addr.sin_port = htons(bootps_port);
647 send_addr.sin_port = htons(bootpc_port);
/freebsd-10.3-release/libexec/bootpd/tools/bootptest/
H A Dbootptest.c271 sin_server.sin_port = htons(bootps_port);
290 sin_client.sin_port = htons(bootpc_port);
411 bp->bp_secs = htons(secs);
/freebsd-10.3-release/contrib/ipfilter/lib/
H A Dsave_v2trap.c151 ctx->sin.sin_port = htons(162);
167 ctx->sin6.sin6_port = htons(162);
183 ctx->sin.sin_port = htons(162);
/freebsd-10.3-release/sys/contrib/ipfilter/netinet/
H A Dip_irc_pxy.c379 ip->ip_len = htons(fin->fin_plen);
387 sp = htons(a5);
412 tcp2->th_win = htons(8192);
H A Dip_rcmd_pxy.c264 ip6->ip6_plen = htons(sizeof(*tcp));
268 ip->ip_len = htons(fin->fin_hlen + sizeof(*tcp));
276 tcp2->th_win = htons(8192);
/freebsd-10.3-release/sys/netinet/libalias/
H A Dalias_irc.c352 true_port = htons(org_port);
398 "%u", htons(alias_port));
452 new_len = htons(hlen + iCopy + copyat);
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.3-release/sys/nfs/
H A Dkrpc_subr.c153 *portp = htons(PMAPPORT);
167 sin->sin_port = htons(PMAPPORT);
262 sin->sin_port = htons(tport);
/freebsd-10.3-release/tools/tools/netrate/netsend/
H A Dnetsend.c233 a->sin.sin_port = htons(cur_port++);
326 a.sin6.sin6_port = htons(port);
328 a.sin.sin_port = htons(port);
/freebsd-10.3-release/contrib/netbsd-tests/lib/librumpclient/
H A Dt_fd.c126 sin.sin_port = htons(12345);
/freebsd-10.3-release/contrib/netbsd-tests/net/icmp/
H A Dt_forward.c93 sin.sin_port = htons(33434);
/freebsd-10.3-release/contrib/smbfs/lib/smb/
H A Dnb_net.c97 sinp->sin_port = htons(smbtcpport);
/freebsd-10.3-release/contrib/tcpdump/
H A Dprint-sll.c185 etherproto_string(htons(extracted_ethertype)));
/freebsd-10.3-release/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.3-release/contrib/ipfilter/ipsend/
H A Darp.c114 san.sin_port = htons(1);
/freebsd-10.3-release/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.3-release/sys/net80211/
H A Dieee80211_alq.c153 r->r_wlan = htons(vap->iv_ifp->if_dunit);
/freebsd-10.3-release/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.3-release/usr.bin/talk/
H A Dinvite.c81 msg.addr.sa_family = htons(my_addr.sin_family);
/freebsd-10.3-release/usr.sbin/bluetooth/sdpd/
H A Dsrr.c121 pdu.len = htons(srv->fdidx[fd].rsp_size);
/freebsd-10.3-release/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.3-release/tools/tools/net80211/wesside/udps/
H A Dudps.c147 s_in.sin_port = htons(port);
/freebsd-10.3-release/tools/regression/netinet/ipdivert/
H A Dipdivert.c102 sin.sin_port = htons(port);
/freebsd-10.3-release/usr.sbin/ppp/
H A Dtcpmss.c134 *mss = htons(maxmss);

Completed in 370 milliseconds

1234567891011>>