Searched refs:htons (Results 351 - 375 of 608) sorted by relevance
<<11121314151617181920>>
/freebsd-10.0-release/crypto/heimdal/lib/roken/ |
H A D | getaddrinfo.c | 94 *port = htons(strtol (servname, &endstr, 10));
|
/freebsd-10.0-release/lib/libradius/ |
H A D | radlib.c | 418 srvp->addr.sin_port = htons((u_short)port); 425 sent->s_port : htons(RADIUS_PORT); 429 sent->s_port : htons(RADACCT_PORT); 972 sin.sin_port = htons(0);
|
/freebsd-10.0-release/lib/libstand/ |
H A D | rpc.c | 133 d->destport = htons(port);
|
/freebsd-10.0-release/release/picobsd/tinyware/simple_httpd/ |
H A D | simple_httpd.c | 116 server.sin_port = htons(http_port);
|
/freebsd-10.0-release/sys/dev/qlxge/ |
H A D | qls_isr.c | 177 if (eh->evl_encap_proto == htons(ETHERTYPE_VLAN)) {
|
/freebsd-10.0-release/sys/netgraph/ |
H A D | ng_l2tp.c | 619 conf->ns = htons(conf->ns); 620 conf->nr = htons(conf->nr); 621 conf->rack = htons(conf->rack); 622 conf->xack = htons(conf->xack);
|
/freebsd-10.0-release/sys/netinet/libalias/ |
H A D | alias_skinny.c | 288 htons((u_short) opnrcvch_ack->port), 0,
|
/freebsd-10.0-release/sys/netinet/ |
H A D | sctp_timer.c | 161 ph->param_type = htons(SCTP_CAUSE_PROTOCOL_VIOLATION); 162 ph->param_length = htons(SCTP_BUF_LEN(oper)); 1065 ph->param_type = htons(SCTP_CAUSE_PROTOCOL_VIOLATION); 1066 ph->param_length = htons(SCTP_BUF_LEN(oper));
|
H A D | ip_icmp.c | 237 if (oip->ip_off & htons(~(IP_MF|IP_DF))) 320 icp->icmp_nextmtu = htons(mtu); 345 nip->ip_len = htons(m->m_len);
|
/freebsd-10.0-release/sys/netipsec/ |
H A D | ipsec.c | 608 if (ip->ip_off & htons(IP_MF | IP_OFFMASK)) 620 if (ih.ip_off & htons(IP_MF | IP_OFFMASK)) 763 htons((uint16_t)ih.icmp6_type); 765 htons((uint16_t)ih.icmp6_code);
|
/freebsd-10.0-release/sys/netipx/ |
H A D | ipx_pcb.c | 146 lport = htons(ipxpcb_lport_cache);
|
/freebsd-10.0-release/tools/tools/netrate/tcpp/ |
H A D | tcpp_client.c | 250 remoteip.sin_port = htons(rflag + workernum);
|
/freebsd-10.0-release/usr.sbin/ppp/ |
H A D | udp.c | 218 dev->sock.sin_port = htons(atoi(port));
|
/freebsd-10.0-release/usr.sbin/timed/timedc/ |
H A D | cmds.c | 520 sin.sin_port = htons((u_short)port);
|
/freebsd-10.0-release/contrib/bsnmp/snmpd/ |
H A D | trap.c | 126 sa.sin_port = htons(t->index.subs[4]); 735 sa.sin_port = htons(addrs->address[4]) << 8 | 736 htons(addrs->address[5]) << 0;
|
/freebsd-10.0-release/contrib/ldns/ |
H A D | str2host.c | 43 *r = htons((uint16_t)strtol((char *)shortstr, &end, 10)); 709 type = htons(ldns_get_rr_type_by_name(str)); 720 klass = htons(ldns_get_rr_class_by_name(str));
|
/freebsd-10.0-release/contrib/libpcap/ |
H A D | pcap-dag.c | 423 sunatm->vci = htons((rawatm >> 4) & 0xffff); 426 ((sunatm->vpi == 0 && sunatm->vci == htons(5)) ? 6 : 427 ((sunatm->vpi == 0 && sunatm->vci == htons(16)) ? 5 :
|
/freebsd-10.0-release/contrib/unbound/iterator/ |
H A D | iter_utils.c | 748 if(rep->rrsets[i]->rk.type == htons(LDNS_RR_TYPE_NS)) { 788 neg->rk.type = htons(qinfo->qtype); 789 neg->rk.rrset_class = htons(qinfo->qclass);
|
/freebsd-10.0-release/contrib/unbound/services/cache/ |
H A D | dns.c | 481 if(r->an_numrrsets > 0 && (r->rrsets[0]->rk.type == htons( 482 LDNS_RR_TYPE_CNAME) || r->rrsets[0]->rk.type == htons( 592 ck->rk.type = htons(LDNS_RR_TYPE_CNAME);
|
/freebsd-10.0-release/contrib/wpa/wpa_supplicant/ |
H A D | eapol_test.c | 566 hdr->length = htons(5); 571 eap->length = htons(5); 687 dot1x->length = htons(wpabuf_len(eap));
|
/freebsd-10.0-release/lib/libfetch/ |
H A D | ftp.c | 746 sin6->sin6_port = htons(port); 755 sin4->sin_port = htons(port); 837 htons(sin6->sin6_port));
|
/freebsd-10.0-release/sbin/routed/ |
H A D | output.c | 113 osin.sin_port = htons(RIP_PORT); 293 na2->a_type = htons(1); 294 na->au.a_md5.md5_pkt_len = htons(len);
|
/freebsd-10.0-release/sys/dev/ti/ |
H A D | if_ti.c | 1884 CSR_WRITE_4(sc, TI_GCR_MAR0, htons(m[0])); 1885 CSR_WRITE_4(sc, TI_GCR_MAR1, (htons(m[1]) << 16) | htons(m[2])); 1889 ext[0] = htons(m[0]); 1890 ext[1] = (htons(m[1]) << 16) | htons(m[2]); 1910 CSR_WRITE_4(sc, TI_GCR_MAR0, htons(m[0])); 1911 CSR_WRITE_4(sc, TI_GCR_MAR1, (htons(m[1]) << 16) | htons(m[2])); 1915 ext[0] = htons( [all...] |
/freebsd-10.0-release/sys/net80211/ |
H A D | ieee80211_input.c | 303 !(llc->llc_snap.ether_type == htons(ETHERTYPE_AARP) || 304 llc->llc_snap.ether_type == htons(ETHERTYPE_IPX))) { 338 eh->ether_type = htons(m->m_pkthdr.len - sizeof(*eh));
|
/freebsd-10.0-release/sys/netinet6/ |
H A D | udp6_usrreq.c | 423 next_hop6->sin6_port ? htons(next_hop6->sin6_port) : 768 udp6->uh_ulen = htons((u_short)plen); 779 ip6->ip6_plen = htons((u_short)plen);
|
Completed in 205 milliseconds
<<11121314151617181920>>