Lines Matching refs:htons
264 bpdu.cbu_rootpri = htons(bp->bp_desg_pv.pv_root_id >> 48); in bstp_transmit_bpdu()
269 bpdu.cbu_bridgepri = htons(bp->bp_desg_pv.pv_dbridge_id >> 48); in bstp_transmit_bpdu()
272 bpdu.cbu_portid = htons(bp->bp_port_id); in bstp_transmit_bpdu()
273 bpdu.cbu_messageage = htons(bp->bp_desg_msg_age); in bstp_transmit_bpdu()
274 bpdu.cbu_maxage = htons(bp->bp_desg_max_age); in bstp_transmit_bpdu()
275 bpdu.cbu_hellotime = htons(bp->bp_desg_htime); in bstp_transmit_bpdu()
276 bpdu.cbu_forwarddelay = htons(bp->bp_desg_fdelay); in bstp_transmit_bpdu()
323 eh->ether_type = htons(sizeof(bpdu)); in bstp_transmit_tcn()
435 bpdu->cbu_protoid = htons(BSTP_PROTO_ID); in bstp_send_bpdu()
444 eh->ether_type = htons(BSTP_BPDU_STP_LEN); in bstp_send_bpdu()
451 bpdu->cbu_versionlen = htons(0); in bstp_send_bpdu()
453 eh->ether_type = htons(BSTP_BPDU_RSTP_LEN); in bstp_send_bpdu()