dn_ntohs 188 include/net/dn.h __u16 a = dn_ntohs(addr); dn_ntohs 170 net/decnet/af_decnet.c return &dn_sk_hash[dn_ntohs(scp->addrloc) & DN_SK_HASH_MASK]; dn_ntohs 184 net/decnet/af_decnet.c sk_for_each(sk, node, &dn_sk_hash[dn_ntohs(port) & DN_SK_HASH_MASK]) { dn_ntohs 258 net/decnet/af_decnet.c for(i = 0; i < dn_ntohs(addr->sdn_objnamel); i++) { dn_ntohs 300 net/decnet/af_decnet.c *buf++ = dn_ntohs(sdn->sdn_objnamel); dn_ntohs 301 net/decnet/af_decnet.c memcpy(buf, sdn->sdn_objname, dn_ntohs(sdn->sdn_objnamel)); dn_ntohs 302 net/decnet/af_decnet.c len = 3 + dn_ntohs(sdn->sdn_objnamel); dn_ntohs 307 net/decnet/af_decnet.c *buf++ = dn_ntohs(sdn->sdn_objnamel); dn_ntohs 308 net/decnet/af_decnet.c memcpy(buf, sdn->sdn_objname, dn_ntohs(sdn->sdn_objnamel)); dn_ntohs 309 net/decnet/af_decnet.c len = 7 + dn_ntohs(sdn->sdn_objnamel); dn_ntohs 365 net/decnet/af_decnet.c len -= dn_ntohs(sdn->sdn_objnamel); dn_ntohs 367 net/decnet/af_decnet.c if ((len < 0) || (dn_ntohs(sdn->sdn_objnamel) > namel)) dn_ntohs 370 net/decnet/af_decnet.c memcpy(sdn->sdn_objname, data, dn_ntohs(sdn->sdn_objnamel)); dn_ntohs 394 net/decnet/af_decnet.c if (memcmp(scp->addr.sdn_objname, addr->sdn_objname, dn_ntohs(addr->sdn_objnamel)) != 0) dn_ntohs 422 net/decnet/af_decnet.c sk_for_each(sk, node, &dn_sk_hash[dn_ntohs(cb->dst_port) & DN_SK_HASH_MASK]) { dn_ntohs 737 net/decnet/af_decnet.c if (dn_ntohs(saddr->sdn_nodeaddrl) && (dn_ntohs(saddr->sdn_nodeaddrl) != 2)) dn_ntohs 740 net/decnet/af_decnet.c if (dn_ntohs(saddr->sdn_objnamel) > DN_MAXOBJL) dn_ntohs 751 net/decnet/af_decnet.c if (dn_ntohs(saddr->sdn_nodeaddrl)) { dn_ntohs 803 net/decnet/af_decnet.c memcpy(scp->addr.sdn_objname, scp->accessdata.acc_acc, dn_ntohs(scp->addr.sdn_objnamel)); dn_ntohs 1378 net/decnet/af_decnet.c if (dn_ntohs(u.opt.opt_optl) > 16) dn_ntohs 1391 net/decnet/af_decnet.c if (dn_ntohs(u.opt.opt_optl) > 16) dn_ntohs 2216 net/decnet/af_decnet.c switch (dn_ntohs(dn->sdn_objnamel)) { dn_ntohs 2221 net/decnet/af_decnet.c for (i = 0; i < dn_ntohs(dn->sdn_objnamel); i++) { dn_ntohs 2284 net/decnet/af_decnet.c dn_addr2asc(dn_ntohs(dn_saddr2dn(&scp->addr)), buf1), dn_ntohs 2292 net/decnet/af_decnet.c dn_addr2asc(dn_ntohs(dn_saddr2dn(&scp->peer)), buf2), dn_ntohs 934 net/decnet/dn_dev.c if (dn_ntohs(dn->addr) < dn_ntohs(ifa->ifa_local)) dn_ntohs 1406 net/decnet/dn_dev.c dn_db->router ? dn_addr2asc(dn_ntohs(*(__le16 *)dn_db->router->primary_key), router_buf) : "", dn_ntohs 1407 net/decnet/dn_dev.c dn_db->peer ? dn_addr2asc(dn_ntohs(*(__le16 *)dn_db->peer->primary_key), peer_buf) : ""); dn_ntohs 397 net/decnet/dn_neigh.c dn->blksize = dn_ntohs(msg->blksize); dn_ntohs 413 net/decnet/dn_neigh.c if ((dn_ntohs(src)>>10) == (dn_ntohs((decnet_address))>>10)) { dn_ntohs 456 net/decnet/dn_neigh.c dn->blksize = dn_ntohs(msg->blksize); dn_ntohs 546 net/decnet/dn_neigh.c dn_addr2asc(dn_ntohs(dn->addr), buf), dn_ntohs 86 net/decnet/dn_nsp_in.c printk(KERN_INFO "DECnet: Martian packet (%s) dev=%s src=0x%04hx dst=0x%04hx srcport=0x%04hx dstport=0x%04hx\n", msg, devname, dn_ntohs(cb->src), dn_ntohs(cb->dst), dn_ntohs(cb->src_port), dn_ntohs(cb->dst_port)); dn_ntohs 136 net/decnet/dn_nsp_in.c if ((ack = dn_ntohs(*ptr)) & 0x8000) { dn_ntohs 150 net/decnet/dn_nsp_in.c if ((ack = dn_ntohs(*ptr)) & 0x8000) { dn_ntohs 240 net/decnet/dn_nsp_in.c cb->segsize = dn_ntohs(msg->segsize); dn_ntohs 347 net/decnet/dn_nsp_in.c cb->segsize = dn_ntohs(*(__le16 *)ptr); dn_ntohs 399 net/decnet/dn_nsp_in.c reason = dn_ntohs(*(__le16 *)skb->data); dn_ntohs 466 net/decnet/dn_nsp_in.c reason = dn_ntohs(*(__le16 *)skb->data); dn_ntohs 515 net/decnet/dn_nsp_in.c segnum = dn_ntohs(*(__le16 *)ptr); dn_ntohs 623 net/decnet/dn_nsp_in.c cb->segnum = segnum = dn_ntohs(*(__le16 *)skb->data); dn_ntohs 651 net/decnet/dn_nsp_in.c cb->segnum = segnum = dn_ntohs(*(__le16 *)skb->data); dn_ntohs 526 net/decnet/dn_nsp_out.c __u8 len = (__u8)dn_ntohs(scp->conndata_out.opt_optl); dn_ntohs 563 net/decnet/dn_nsp_out.c printk(KERN_DEBUG "DECnet: dn_nsp_do_disc: BUG! Please report this to SteveW@ACM.org rem=%u dst=%p\n", dn_ntohs(rem), dst); dn_ntohs 602 net/decnet/dn_nsp_out.c ddl = dn_ntohs(scp->discdata_out.opt_optl); dn_ntohs 605 net/decnet/dn_nsp_out.c reason = dn_ntohs(scp->discdata_out.opt_status); dn_ntohs 712 net/decnet/dn_nsp_out.c aux = (__u8)dn_ntohs(scp->conndata_out.opt_optl); dn_ntohs 479 net/decnet/dn_route.c dn_ntohs(cb->src), dn_ntohs(cb->dst), dn_ntohs 579 net/decnet/dn_route.c __u16 len = dn_ntohs(*(__le16 *)skb->data); dn_ntohs 777 net/decnet/dn_route.c dn_ntohs(cb->src), dn_ntohs(cb->dst)); dn_ntohs 820 net/decnet/dn_route.c __u16 tmp = dn_ntohs(addr1) ^ dn_ntohs(addr2); dn_ntohs 890 net/decnet/dn_route.c " iif=%d oif=%d\n", dn_ntohs(oldflp->fld_dst), dn_ntohs 891 net/decnet/dn_route.c dn_ntohs(oldflp->fld_src), dn_ntohs 963 net/decnet/dn_route.c dn_ntohs(fl.fld_dst), dn_ntohs(fl.fld_src), dn_ntohs 1715 net/decnet/dn_route.c dn_addr2asc(dn_ntohs(rt->rt_daddr), buf1), dn_ntohs 1716 net/decnet/dn_route.c dn_addr2asc(dn_ntohs(rt->rt_saddr), buf2), dn_ntohs 88 net/decnet/dn_table.c u16 h = dn_ntohs(key.datum)>>(16 - dz->dz_order); dn_ntohs 204 net/decnet/sysctl_net_decnet.c dn_addr2asc(dn_ntohs(decnet_address), addr);