/freebsd-10-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 + slen);
|
/freebsd-10-stable/tools/regression/netinet/ipdivert/ |
H A D | ipdivert.c | 102 sin.sin_port = htons(port);
|
/freebsd-10-stable/tools/tools/mctest/ |
H A D | mctest.cc | 150 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 D | udps.c | 147 s_in.sin_port = htons(port);
|
/freebsd-10-stable/usr.bin/rlogin/ |
H A D | rlogin.c | 494 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 D | invite.c | 81 msg.addr.sa_family = htons(my_addr.sin_family);
|
/freebsd-10-stable/usr.sbin/bluetooth/sdpd/ |
H A D | srr.c | 121 pdu.len = htons(srv->fdidx[fd].rsp_size);
|
/freebsd-10-stable/usr.sbin/ppp/ |
H A D | tcpmss.c | 134 *mss = htons(maxmss);
|
/freebsd-10-stable/usr.sbin/ypset/ |
H A D | ypset.c | 68 if ((port = htons(getrpcport(server, YPPROG, YPPROC_NULL, IPPROTO_UDP))) == 0)
|
/freebsd-10-stable/contrib/unbound/services/cache/ |
H A D | rrset.c | 252 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 D | if_ef.c | 402 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 D | t_forward.c | 93 sin.sin_port = htons(33434);
|
/freebsd-10-stable/contrib/netbsd-tests/lib/librumpclient/ |
H A D | t_fd.c | 126 sin.sin_port = htons(12345);
|
/freebsd-10-stable/contrib/netbsd-tests/sys/netatalk/ |
H A D | t_print.c | 49 { htons(3), 255 },
|
/freebsd-10-stable/usr.sbin/traceroute6/ |
H A D | traceroute6.c | 475 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 D | sctp_asconf.c | 91 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 D | iplang_y.y | 646 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 D | ip_msnrpc_pxy.c | 302 tcp2->th_win = htons(8192); 304 fi.fin_data[0] = htons(mri->mri_rport);
|
/freebsd-10-stable/contrib/ipfilter/tools/ |
H A D | ipsyncs.c | 101 sin.sin_port = htons(atoi(argv[2])); 103 sin.sin_port = htons(43434);
|
/freebsd-10-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-10-stable/contrib/ofed/libmlx4/src/ |
H A D | srq.c | 58 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 D | roken_gethostby.c | 73 dns_addr.sin_port = htons(proxy_port); 79 dns_addr.sin_port = htons(dns_port);
|
/freebsd-10-stable/lib/libstand/ |
H A D | bootparam.c | 162 d->myport = htons(--rpc_port); 281 d->myport = htons(--rpc_port);
|
/freebsd-10-stable/sys/dev/ep/ |
H A D | if_ep_isa.c | 209 isa_id = (htons(data) << 16); 211 isa_id |= htons(data);
|
/freebsd-10-stable/tools/regression/netinet/ipbroadcast/ |
H A D | ipbroadcast.c | 274 laddr.sin_port = htons(portno); 287 dsin.sin_port = htons(portno);
|