Home
last modified time | relevance | path

Searched refs:dn_htons (Results 1 – 7 of 7) sorted by relevance

/linux-2.4.37.9/net/decnet/
Ddn_neigh.c223 *((unsigned short *)data) = dn_htons(skb->len - 2); in dn_long_output()
267 *((unsigned short *)data) = dn_htons(skb->len - 2); in dn_short_output()
309 *((unsigned short *)data) = dn_htons(skb->len - 2); in dn_phase3_output()
313 sp->dstnode = cb->dst & dn_htons(0x03ff); in dn_phase3_output()
314 sp->srcnode = cb->src & dn_htons(0x03ff); in dn_phase3_output()
351 src = dn_htons(dn_eth2dn(msg->id)); in dn_neigh_router_hello()
408 src = dn_htons(dn_eth2dn(msg->id)); in dn_neigh_endnode_hello()
Ddn_nsp_out.c353 *ptr++ = dn_htons(acknum); in dn_mk_ack_header()
354 *ptr++ = dn_htons(ackcrs); in dn_mk_ack_header()
543 msg->segsize = dn_htons(scp->segsize_loc); in dn_send_conn_conf()
581 *(__u16 *)msg = dn_htons(reason); in dn_nsp_do_disc()
642 *segnum = dn_htons(scp->numoth); in dn_nsp_send_link()
687 msg->segsize = dn_htons(scp->segsize_loc); /* Max segment size */ in dn_nsp_send_conninit()
Ddn_dev.c672 msg->blksize = dn_htons(dn_db->parms.blksize); in dn_send_endnode_hello()
682 msg->timer = dn_htons((unsigned short)dn_db->parms.t3); in dn_send_endnode_hello()
688 *pktlen = dn_htons(skb->len - 2); in dn_send_endnode_hello()
760 *((unsigned short *)ptr) = dn_htons(dn_db->parms.blksize); in dn_send_router_hello()
764 *((unsigned short *)ptr) = dn_htons((unsigned short)dn_db->parms.t3); in dn_send_router_hello()
780 *pktlen = dn_htons(skb->len - 2); in dn_send_router_hello()
Daf_decnet.c351 sdn->sdn_objnamel = dn_htons(0); in dn_username2sockaddr()
385 sdn->sdn_objnamel = dn_htons(*data++); in dn_username2sockaddr()
836 scp->addr.sdn_objnamel = dn_htons(scp->accessdata.acc_accl); in dn_auto_bind()
843 scp->addr.sdn_add.a_len = dn_htons(2); in dn_auto_bind()
2055 *(__u16 *)ptr = dn_htons(ack); in dn_sendmsg()
2057 *(__u16 *)ptr = dn_htons(cb->segnum); in dn_sendmsg()
2252 decnet_address = dn_htons((addr[0] << 10) | addr[1]); in decnet_init()
2293 decnet_address = dn_htons(area << 10 | node); in decnet_setup()
Dsysctl_net_decnet.c122 *addr = dn_htons((area << 10) | node); in parse_addr()
Ddn_route.c436 cb->dst = dn_htons(dn_eth2dn(ptr)); in dn_route_rx_long()
444 cb->src = dn_htons(dn_eth2dn(ptr)); in dn_route_rx_long()
/linux-2.4.37.9/include/net/
Ddn.h10 #define dn_htons(x) cpu_to_le16((unsigned short)(x)) macro