Searched refs:dn_ntohs (Results 1 – 7 of 7) sorted by relevance
/linux-2.4.37.9/net/decnet/ |
D | dn_nsp_in.c | 136 if ((ack = dn_ntohs(*ptr)) & 0x8000) { in dn_process_ack() 150 if ((ack = dn_ntohs(*ptr)) & 0x8000) { in dn_process_ack() 240 cb->segsize = dn_ntohs(msg->segsize); in dn_find_listener() 347 cb->segsize = dn_ntohs(*(__u16 *)ptr); in dn_nsp_conn_conf() 398 reason = dn_ntohs(*(__u16 *)skb->data); in dn_nsp_disc_init() 456 reason = dn_ntohs(*(__u16 *)skb->data); in dn_nsp_disc_conf() 505 segnum = dn_ntohs(*(__u16 *)ptr); in dn_nsp_linkservice() 612 cb->segnum = segnum = dn_ntohs(*(__u16 *)skb->data); in dn_nsp_otherdata() 640 cb->segnum = segnum = dn_ntohs(*(__u16 *)skb->data); in dn_nsp_data()
|
D | af_decnet.c | 321 *buf++ = dn_ntohs(sdn->sdn_objnamel); in dn_sockaddr2username() 322 memcpy(buf, sdn->sdn_objname, dn_ntohs(sdn->sdn_objnamel)); in dn_sockaddr2username() 323 len = 3 + dn_ntohs(sdn->sdn_objnamel); in dn_sockaddr2username() 328 *buf++ = dn_ntohs(sdn->sdn_objnamel); in dn_sockaddr2username() 329 memcpy(buf, sdn->sdn_objname, dn_ntohs(sdn->sdn_objnamel)); in dn_sockaddr2username() 330 len = 7 + dn_ntohs(sdn->sdn_objnamel); in dn_sockaddr2username() 386 len -= dn_ntohs(sdn->sdn_objnamel); in dn_username2sockaddr() 388 if ((len < 0) || (dn_ntohs(sdn->sdn_objnamel) > namel)) in dn_username2sockaddr() 391 memcpy(sdn->sdn_objname, data, dn_ntohs(sdn->sdn_objnamel)); in dn_username2sockaddr() 414 if (memcmp(scp->addr.sdn_objname, addr->sdn_objname, dn_ntohs(addr->sdn_objnamel)) != 0) in dn_sklist_find_listener() [all …]
|
D | sysctl_net_decnet.c | 155 dn_dn2eth(decnet_ether_address, dn_ntohs(decnet_address)); in dn_node_address_strategy() 190 dn_dn2eth(decnet_ether_address, dn_ntohs(decnet_address)); in dn_node_address_handler() 199 dn_addr2asc(dn_ntohs(decnet_address), addr); in dn_node_address_handler()
|
D | dn_neigh.c | 228 dn_dn2eth(lp->d_id, dn_ntohs(cb->dst)); in dn_long_output() 230 dn_dn2eth(lp->s_id, dn_ntohs(cb->src)); in dn_long_output() 369 dn->blksize = dn_ntohs(msg->blksize); in dn_neigh_router_hello() 425 dn->blksize = dn_ntohs(msg->blksize); in dn_neigh_endnode_hello() 525 dn_addr2asc(dn_ntohs(dn->addr), buf), in dn_neigh_format_entry()
|
D | dn_dev.c | 718 if (dn_ntohs(dn->addr) < dn_ntohs(decnet_address)) in dn_am_i_a_router() 1148 … dn_db->router ? dn_addr2asc(dn_ntohs(*(dn_address *)dn_db->router->primary_key), router_buf) : "", in decnet_dev_get_info() 1149 dn_db->peer ? dn_addr2asc(dn_ntohs(*(dn_address *)dn_db->peer->primary_key), peer_buf) : ""); in decnet_dev_get_info()
|
D | dn_route.c | 506 __u16 len = dn_ntohs(*(__u16 *)skb->data); in dn_route_rcv() 1207 dn_addr2asc(dn_ntohs(rt->rt_daddr), buf1), in decnet_cache_get_info() 1208 dn_addr2asc(dn_ntohs(rt->rt_saddr), buf2), in decnet_cache_get_info()
|
/linux-2.4.37.9/include/net/ |
D | dn.h | 9 #define dn_ntohs(x) le16_to_cpu((unsigned short)(x)) macro
|