/freebsd-11-stable/contrib/wpa/src/wps/ |
H A D | wps_upnp_ssdp.c | 240 dest.sin_port = htons(UPNP_MULTICAST_PORT); 289 dest.sin_port = htons(UPNP_MULTICAST_PORT); 744 addr.sin_port = htons(UPNP_MULTICAST_PORT);
|
/freebsd-11-stable/sys/net/ |
H A D | if_arcsubr.c | 145 ah->ar_hrd = htons(ARPHRD_ARCNET); 571 mtod(m, struct arphdr *)->ar_pro = htons(ETHERTYPE_IP); 584 mtod(m, struct arphdr *)->ar_pro = htons(ETHERTYPE_IP);
|
H A D | if_me.c | 465 ip->ip_len = htons(m->m_pkthdr.len - hlen); 580 if (ip->ip_off & htons(IP_MF | IP_OFFMASK)) { 620 ip->ip_len = htons(m->m_pkthdr.len);
|
H A D | if_fwsubr.c | 159 ah->ar_hrd = htons(ARPHRD_IEEE1394); 202 h.firewire_type = htons(type); 578 h.firewire_type = htons(type);
|
/freebsd-11-stable/sys/netipsec/ |
H A D | ipsec_input.c | 159 spi = ntohl(htons(cpi)); 312 ip->ip_len = htons(m->m_pkthdr.len); 530 ip6->ip6_plen = htons(m->m_pkthdr.len - sizeof(struct ip6_hdr));
|
/freebsd-11-stable/usr.bin/netstat/ |
H A D | sctp.c | 280 htons(xstcb->local_port), numeric_port); 291 htons(xstcb->remote_port), numeric_port); 446 htons(xinpcb->local_port), numeric_port);
|
/freebsd-11-stable/usr.sbin/ppp/ |
H A D | nat_cmd.c | 180 link = LibAliasRedirectPort(la, localaddr, htons(llocalport), 181 remoteaddr, htons(lremoteport), 182 aliasaddr, htons(laliasport),
|
H A D | server.c | 331 sin6->sin6_port = htons(port); 339 sin->sin_port = htons(port);
|
/freebsd-11-stable/contrib/wpa/wpa_supplicant/ |
H A D | ctrl_iface_udp.c | 437 addr.sin6_port = htons(port); 439 addr.sin_port = htons(port); 745 addr.sin_port = htons(port);
|
/freebsd-11-stable/stand/libsa/ |
H A D | bootp.c | 175 d->myport = htons(IPPORT_BOOTPC); 177 d->destport = htons(IPPORT_BOOTPS); 278 bp->bp_secs = htons((u_short)(getsecs() - bot));
|
/freebsd-11-stable/sys/netgraph/ |
H A D | ng_checksum.c | 347 if (ip4->ip_off & htons(IP_MF|IP_OFFMASK)) { 362 ip4->ip_dst.s_addr, htons(ip4->ip_p + plen - hlen)); 383 ip4->ip_dst.s_addr, htons(ip4->ip_p + plen - hlen));
|
/freebsd-11-stable/sbin/natd/ |
H A D | natd.c | 1725 htons(localPort + i), 1727 htons(remotePortCopy), 1729 htons(publicPort + i), 1745 LibAliasAddServer(mla, aliaslink, localAddr, htons(localPort)); 1858 LibAliasAddServer(mla, aliaslink, localAddr, htons(~0)); 1888 return htons (port);
|
/freebsd-11-stable/sys/netpfil/ipfw/ |
H A D | ip_fw_nat.c | 230 r->laddr, htons(r->lport + i), r->raddr, 231 htons(remotePortCopy), r->paddr, 232 htons(r->pport + i), r->proto); 260 s->addr, htons(s->port)); 410 if ((ip->ip_off & htons(IP_OFFMASK)) == 0 && 426 htons(ip->ip_p + ip_len - (ip->ip_hl << 2)));
|
/freebsd-11-stable/contrib/wpa/src/l2_packet/ |
H A D | l2_packet_ndis.c | 123 eth->h_proto = htons(proto); 332 USHORT proto = htons(protocol);
|
/freebsd-11-stable/lib/libc/rpc/ |
H A D | rpc_soc.c | 124 raddr->sin_port = htons(sport); 285 addr->sin_port = htons(PMAPPORT);
|
/freebsd-11-stable/contrib/unbound/validator/ |
H A D | val_kentry.c | 357 rrk->rk.type = htons(d->rrset_type); 358 rrk->rk.rrset_class = htons(kkey->key_class);
|
/freebsd-11-stable/lib/libc/net/ |
H A D | Makefile.inc | 53 MLINKS+=byteorder.3 htonl.3 byteorder.3 htons.3 byteorder.3 ntohl.3 \
|
/freebsd-11-stable/sys/nfs/ |
H A D | nfs_diskless.c | 269 nd3->root_saddr.sin_port = htons(NFS_PORT); 308 nd->root_saddr.sin_port = htons(NFS_PORT);
|
/freebsd-11-stable/tools/regression/sockets/sendfile/ |
H A D | sendfile.c | 204 sin.sin_port = htons(TEST_PORT); 247 sin.sin_port = htons(TEST_PORT);
|
/freebsd-11-stable/tools/tools/netrate/juggle/ |
H A D | juggle.c | 129 sin1.sin_port = htons(UDP_PORT1); 135 sin2.sin_port = htons(UDP_PORT2);
|
/freebsd-11-stable/contrib/netbsd-tests/net/bpfilter/ |
H A D | t_bpfilter.c | 196 icmp->icmp_id = htons(37); 197 icmp->icmp_seq = htons(1);
|
/freebsd-11-stable/contrib/smbfs/lib/smb/ |
H A D | nbns_rq.c | 90 dest->sin_port = htons(ctx->nb_nmbtcpport); 135 dest->sin_port = htons(ctx->nb_smbtcpport);
|
/freebsd-11-stable/contrib/ofed/infiniband-diags/src/ |
H A D | ibmirror.c | 353 lossy_cfg.ignore_buffer_mask = htons(1<<mirror_vl); 370 lossy_cfg.ignore_credit_mask = htons(1<<mirror_vl);
|
/freebsd-11-stable/sys/ofed/drivers/infiniband/ulp/sdp/ |
H A D | sdp_cma.c | 320 hh.bsdh.bufs = htons(rx_ring_posted(sdp_sk(sk))); 350 hah.bsdh.bufs = htons(rx_ring_posted(ssk));
|
/freebsd-11-stable/usr.sbin/fwcontrol/ |
H A D | fwdv.c | 368 ciph->fdf.dv.cyc = htons(f_cycle << 12 | f_frac); 370 ciph->fdf.dv.cyc = htons(cycle << 12 | f_frac);
|