Searched refs:ntohs (Results 326 - 350 of 523) sorted by relevance

<<11121314151617181920>>

/freebsd-9.3-release/sys/dev/qlxgb/
H A Dqla_isr.c124 mp->m_pkthdr.ether_vtag = ntohs(eh->evl_tag);
/freebsd-9.3-release/sys/fs/nfsserver/
H A Dnfs_nfsdkrpc.c172 port = ntohs(sin->sin_port);
/freebsd-9.3-release/sys/net/
H A Dbpf_filter.c51 #define EXTRACT_SHORT(p) ((u_int16_t)ntohs(*(u_int16_t *)p))
H A Dflowtable.c487 proto, saddr, ntohs(ssin->sin_port), daddr,
488 ntohs(dsin->sin_port));
1717 sport = ntohs(((uint16_t *)hashkey)[0]);
1718 dport = ntohs(((uint16_t *)hashkey)[1]);
/freebsd-9.3-release/sys/netgraph/netflow/
H A Dnetflow_v9.c428 m_append(m, ntohs(fl->length), (void *)fl);
/freebsd-9.3-release/sys/netgraph/
H A Dng_vlan.c376 vlan = EVL_VLANOFTAG(ntohs(evl->evl_tag));
/freebsd-9.3-release/sys/netinet/
H A Din_pcb.c576 if (ntohs(lport) <= V_ipport_reservedhigh &&
577 ntohs(lport) >= V_ipport_reservedlow &&
2265 ntohs(inc->inc_lport));
2268 ntohs(inc->inc_fport));
/freebsd-9.3-release/sys/netipsec/
H A Dxform_ipip.c442 ipo->ip_off = ntohs(ipo->ip_off);
/freebsd-9.3-release/sys/netipx/
H A Dipx.c414 port = ntohs(work.x_port);
H A Dspx_usrreq.c221 si->si_seq = ntohs(si->si_seq);
222 si->si_ack = ntohs(si->si_ack);
223 si->si_alo = ntohs(si->si_alo);
815 si->si_sum = ipx_cksum(m, ntohs(si->si_len));
/freebsd-9.3-release/sys/nfsserver/
H A Dnfs_srvkrpc.c309 port = ntohs(sin->sin_port);
/freebsd-9.3-release/usr.bin/getent/
H A Dgetent.c507 se->s_name, ntohs(se->s_port), se->s_proto)
/freebsd-9.3-release/usr.sbin/fwcontrol/
H A Dfwdv.c181 fprintf(stderr, "0x%04x\n", ntohs(ciph->fdf.dv.cyc));
/freebsd-9.3-release/crypto/openssl/apps/
H A Ds_socket.c557 *port_ptr = ntohs((unsigned short)s->s_port);
/freebsd-9.3-release/sys/dev/mxge/
H A Dif_mxge.c1783 etype = ntohs(eh->evl_proto);
1786 etype = ntohs(eh->evl_encap_proto);
2211 (int)ntohs(tx->req_list[i].length),
2212 (int)ntohs(tx->req_list[i].pseudo_hdr_offset),
2572 etype = ntohs(eh->ether_type);
2582 htonl(ntohs(csum) + ntohs(ip->ip_len) -
2617 *csum = ntohs(*csum);
2630 m->m_pkthdr.ether_vtag = ntohs(evl->evl_tag);
2638 VLAN_TAG_VALUE(mtag) = ntohs(ev
[all...]
/freebsd-9.3-release/sys/contrib/pf/net/
H A Dpf.c1770 p = ntohs(p);
1807 b = ntohs(addr->addr16[i]);
1814 p = ntohs(p);
3709 len = ntohs(h4->ip_len) - off;
3715 len = ntohs(h6->ip6_plen) - (off - sizeof(*h6));
3908 s->src.max_win = MAX(ntohs(th->th_win), 1);
4193 u_int16_t win = ntohs(th->th_win);
4690 (*state)->src.max_win = MAX(ntohs(th->th_win), 1);
4710 (*state)->dst.max_win = MAX(ntohs(th->th_win), 1);
5682 u_int16_t fragoff = (ntohs(
[all...]
/freebsd-9.3-release/contrib/bsnmp/snmpd/
H A Dtrap.c130 inet_ntoa(sa.sin_addr), ntohs(sa.sin_port));
739 inet_ntoa(sa.sin_addr), ntohs(sa.sin_port));
/freebsd-9.3-release/contrib/ofed/management/libibumad/src/
H A Dumad.c783 umad, ntohs(dlid), ntohl(dqp), sl, ntohl(qkey));
1022 ntohl(addr->qpn), ntohl(addr->qkey), ntohs(addr->lid), addr->sl,
/freebsd-9.3-release/contrib/wpa/src/radius/
H A Dradius_client.c1066 inet_ntoa(claddr.sin_addr), ntohs(claddr.sin_port));
1076 ntohs(claddr6.sin6_port));
/freebsd-9.3-release/crypto/heimdal/appl/rsh/
H A Drsh.c325 ntohs(socket_get_port(thataddr)),
533 ntohs(socket_get_port(erraddr)));
H A Drshd.c387 ntohs(socket_get_port (thisaddr)),
617 return ntohs(port) < IPPORT_RESERVED;
/freebsd-9.3-release/lib/libc/resolv/
H A Dres_mkupdate.c996 slp->port = ntohs((u_int16_t)sp->s_port); /*%< host byt order */
1122 port = ntohs(port);
/freebsd-9.3-release/sbin/routed/
H A Drdisc.c131 ntohs(p->ad.icmp_ad_life));
1036 ntohs(p->ad.icmp_ad_life),
/freebsd-9.3-release/sys/contrib/ipfilter/netinet/
H A Dip_rpcb_pxy.c823 udp->uh_ulen = htons(ntohs(udp->uh_ulen) + diff);
1458 udp->uh_ulen = htons(ntohs(udp->uh_ulen) + len);
H A Dip_state.c1095 is->is_maxswin = ntohs(tcp->th_win);
1450 (ntohs(is->is_sport) != fin->fin_data[0]))
1598 win = ntohs(tcp->th_win);
1600 win = ntohs(tcp->th_win) << fdata->td_winscale;
1786 clone->is_maxdwin = ntohs(tcp->th_win);
1794 clone->is_maxswin = ntohs(tcp->th_win);
1853 dp = ntohs(fin->fin_dport);
2165 oip->ip_off = ntohs(oip->ip_off);

Completed in 496 milliseconds

<<11121314151617181920>>