Searched refs:ntohs (Results 226 - 250 of 298) sorted by relevance

1234567891011>>

/asus-wl-520gu-7.0.1.45/src/router/ntpclient/
H A Dntpclient.c169 ntohs(sa_in->sin_port),inet_ntoa(sa_in->sin_addr));
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/ide/
H A Dide-tape.c3390 if (ntohs(par->wrt_pass_cntr) != tape->wrt_pass_cntr) {
3391 printk(KERN_INFO "ide-tape: %s: skipping frame %d, wrt_pass_cntr %d (expected %d)(logical_blk_num %u)\n", tape->name, tape->first_frame_position, ntohs(par->wrt_pass_cntr), tape->wrt_pass_cntr, ntohl(aux->logical_blk_num));
5039 tape->wrt_pass_cntr = ntohs(header->partition.wrt_pass_cntr);
5514 tape->capacity = ntohs(prm->segtrk) * ntohs(prm->trks);
5517 drive->name, tape->name, tape->capacity/32, ntohs(prm->segtrk), ntohs(prm->trks), tape->capacity, prm->density);
5545 capabilities->max_speed = ntohs (capabilities->max_speed);
5546 capabilities->ctl = ntohs (capabilities->ctl);
5547 capabilities->speed = ntohs (capabilitie
[all...]
H A Dide-cd.c2018 toc->hdr.toc_length = ntohs (toc->hdr.toc_length);
2670 (ntohs(cap.curspeed) + (176/2)) / 176;
2672 (ntohs(cap.maxspeed) + (176/2)) / 176;
/asus-wl-520gu-7.0.1.45/src/linux/linux/net/atm/
H A Dbr2684.c308 if (ntohs(eth->h_proto) >= 1536)
474 DPRINTK("received packet's protocol: %x\n", ntohs(skb->protocol));
H A Dlec.c150 riflen = (ntohs(trh->rcf) & TR_RCF_LEN_MASK) >> 8;
151 if ((ntohs(trh->rcf) >> 13) != 0)
168 rdesc[5] = ((ntohs(trh->rseg[0]) & 0x000f) | (rdesc[5] & 0xf0));
/asus-wl-520gu-7.0.1.45/src/linux/linux/net/ipv4/
H A Dtcp_input.c1331 NIPQUAD(sk->daddr), ntohs(sk->dport),
1874 u32 nwin = ntohs(skb->h.th->window) << tp->snd_wscale;
2026 u16 in_mss = ntohs(*(__u16 *)ptr);
2159 !tcp_may_update_window(tp, ack, seq, ntohs(th->window)<<tp->snd_wscale) &&
3050 u32 ptr = ntohs(th->urg_ptr);
3523 tp->snd_wnd = ntohs(th->window);
3631 tp->snd_wnd = ntohs(th->window);
3780 tp->snd_wnd = ntohs(th->window) << tp->snd_wscale;
H A Dicmp.c589 info = ip_rt_frag_needed(iph, ntohs(icmph->un.frag.mtu));
H A Dip_fragment.c379 offset = ntohs(skb->nh.iph->frag_off);
/asus-wl-520gu-7.0.1.45/src/router/samba/source/smbd/
H A Doplock.c193 SSVAL(buffer,OPBRK_CMD_PORT_OFFSET,ntohs(from.sin_port));
1246 global_oplock_port = ntohs(sock_name.sin_port);
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/net/
H A Daironet4500_core.c1421 len = ntohs( *((u16*)&payload[ptr]) );
1471 DEBUG(0x200," 802.1H uknown1 %x ",ntohs(bridge_tmp->unknown1));
1472 DEBUG(0x200," 802.1H uknw type %x \n",0xf000 & ntohs(bridge_tmp->unknown2));
1473 DEBUG(0x200," 802.1H payloadsize %x \n",0x0fff & ntohs(bridge_tmp->unknown2));
1479 ((ntohs(bridge_tmp->unknown2) & 0xf000) == 0x1000 ) ){
1482 DEBUG(0x200," 802.1H DATA packet of size %x\n",0xf000 & ntohs(bridge_tmp->unknown2) );
1499 DEBUG(0x200,"Non IP packet %x \n",ntohs(len));
H A Dhamachi.c1497 if (ntohs(eth->h_proto) >= 1536)
1633 if (ntohs(ih->tot_len) >= 46){
1667 skb->csum = ntohs(pfck & 0xffff);
H A Dseeq8005.c398 next_packet = ntohs(inw(SEEQ_BUFFER));
/asus-wl-520gu-7.0.1.45/src/linux/linux/net/core/
H A Ddev.c252 hash=ntohs(pt->type)&15;
280 pt1=&ptype_base[ntohs(pt->type)&15];
1477 for (ptype=ptype_base[ntohs(type)&15];ptype;ptype=ptype->next) {
/asus-wl-520gu-7.0.1.45/src/router/shared/
H A Dbroadcom.c1421 snprintf(port, sizeof(port), "%d", ntohs(start.match.dst.ports[0]));
1428 snprintf(port, sizeof(port), "%d", ntohs(start.match.dst.ports[1]));
1521 snprintf(port, sizeof(port), "%d", ntohs(nat.match.dst.ports[0]));
1528 snprintf(port, sizeof(port), "%d", ntohs(nat.match.dst.ports[1]));
1542 snprintf(port, sizeof(port), "%d", ntohs(nat.ports[0]));
1549 snprintf(port, sizeof(port), "%d", ntohs(nat.ports[1]));
1599 snprintf(port, sizeof(port), "%d", ntohs(app.match.dst.ports[0]));
1606 snprintf(port, sizeof(port), "%d", ntohs(app.match.dst.ports[1]));
1626 snprintf(port, sizeof(port), "%d", ntohs(app.dport[0]));
1633 snprintf(port, sizeof(port), "%d", ntohs(ap
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/net/pcmcia/
H A Dray_cs.c1168 if (ntohs(proto) >= 1536) { /* DIX II ethernet frame */
1935 local->stats.rx_over_errors += ntohs(readb(&p->mrx_overflow));
1941 local->stats.rx_crc_errors += ntohs(readb(&p->mrx_checksum_error));
1947 local->stats.rx_frame_errors += ntohs(readb(&p->rx_hec_error));
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/mips/boot/
H A Delf2ecoff.c315 if (ntohs(0xaa55) == 0xaa55) {
/asus-wl-520gu-7.0.1.45/src/linux/linux/net/decnet/
H A Ddn_neigh.c187 if (!dev->hard_header || dev->hard_header(skb, dev, ntohs(skb->protocol), neigh->ha, NULL, skb->len) >= 0)
/asus-wl-520gu-7.0.1.45/src/linux/linux/net/ipv6/
H A Dexthdrs.c791 if (ntohs(fhdr->frag_off) & ~0x7)
H A Dmcast.c418 resptime = ntohs(hdr->icmp6_maxdelay);
/asus-wl-520gu-7.0.1.45/src/linux/linux/net/sched/
H A Dcls_u32.c168 off2 += ntohs(n->sel.offmask & *(u16*)(ptr+n->sel.offoff)) >>n->sel.offshift;
/asus-wl-520gu-7.0.1.45/src/linux/linux/fs/nfsd/
H A Dnfsproc.c147 ntohs(rqstp->rq_addr.sin_port),
/asus-wl-520gu-7.0.1.45/src/router/rp-l2tp/
H A Ddgram.c539 inet_ntoa(to->sin_addr), ntohs(to->sin_port),
/asus-wl-520gu-7.0.1.45/src/router/samba/source/lib/
H A Dutil_sock.c185 lastport = ntohs(sock.sin_port);
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/net/wan/
H A Dwanpipe_multppp.c896 if (ntohs(skb->protocol) != htons(PVC_PROT)){
2318 (chdlc_udp_pkt->udp_pkt.udp_dst_port == ntohs(card->wandev.udp_port)) &&
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/net/fc/
H A Diph5526.c2747 fi->g.edb.ehf = ntohs(flags);
2750 fi->g.edb.buf_len = ntohs(len);
2955 type = ntohs(fcllc->ethertype);
3146 if (skb->protocol == ntohs(ETH_P_ARP))
3198 (fcllc->ethertype == ntohs(ETH_P_IP) ||
3199 fcllc->ethertype == ntohs(ETH_P_ARP))) {
3203 return ntohs(ETH_P_802_2);
4406 *(fi->q.ptr_edb[fi->q.edb_buffer_indx - 1] + 1) = *(fi->q.ptr_edb[fi->q.edb_buffer_indx - 1] + 1) | ntohs(EDB_END);

Completed in 602 milliseconds

1234567891011>>