Home
last modified time | relevance | path

Searched refs:LLC_U_PF_BIT_MASK (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/net/llc/
Dllc_pdu.c77 *pf_bit = (pdu->ctrl_1 & LLC_U_PF_BIT_MASK) >> 4; in llc_pdu_decode_pf_bit()
95 pdu->ctrl_1 |= ((p_bit & 1) << 4) & LLC_U_PF_BIT_MASK; in llc_pdu_init_as_disc_cmd()
190 pdu->ctrl_1 |= ((p_bit & 1) << 4) & LLC_U_PF_BIT_MASK; in llc_pdu_init_as_sabme_cmd()
206 pdu->ctrl_1 |= ((f_bit & 1) << 4) & LLC_U_PF_BIT_MASK; in llc_pdu_init_as_dm_rsp()
230 pdu->ctrl_1 |= ((f_bit & 1) << 4) & LLC_U_PF_BIT_MASK; in llc_pdu_init_as_frmr_rsp()
320 pdu->ctrl_1 |= ((f_bit & 1) << 4) & LLC_U_PF_BIT_MASK; in llc_pdu_init_as_ua_rsp()
368 pf_bit = (pdu->ctrl_1 & LLC_U_PF_BIT_MASK) >> 4; in llc_pdu_get_pf_bit()
/linux-6.1.9/include/net/
Dllc_pdu.h70 #define LLC_U_PF_BIT_MASK 0x10 /* P/F bit mask */ macro
71 #define LLC_U_PF_IS_1(pdu) ((pdu->ctrl_1 & LLC_U_PF_BIT_MASK) ? 1 : 0)
72 #define LLC_U_PF_IS_0(pdu) ((!(pdu->ctrl_1 & LLC_U_PF_BIT_MASK)) ? 1 : 0)
334 pdu->ctrl_1 |= LLC_U_PF_BIT_MASK; in llc_pdu_init_as_test_cmd()
351 pdu->ctrl_1 |= LLC_U_PF_BIT_MASK; in llc_pdu_init_as_test_rsp()
384 pdu->ctrl_1 |= LLC_U_PF_BIT_MASK; in llc_pdu_init_as_xid_cmd()
411 pdu->ctrl_1 |= LLC_U_PF_BIT_MASK; in llc_pdu_init_as_xid_rsp()