Searched refs:pgn (Results 1 – 9 of 9) sorted by relevance
/linux/net/can/j1939/ |
A D | socket.c | 43 return pgn <= J1939_PGN_MAX; in j1939_pgn_is_valid() 49 if (j1939_pgn_is_pdu1(pgn)) in j1939_pgn_is_clean_pdu() 50 return !(pgn & 0xff); in j1939_pgn_is_clean_pdu() 270 if ((skcb->addr.pgn & f->pgn_mask) != f->pgn) in j1939_sk_match_filter() 396 jsk->addr.pgn = J1939_NO_PGN; in j1939_sk_init() 556 jsk->addr.pgn = addr->can_addr.j1939.pgn; in j1939_sk_connect() 576 addr->can_addr.j1939.pgn = jsk->addr.pgn; in j1939_sk_sock2sockaddr_can() 697 f->pgn &= f->pgn_mask; in j1939_sk_setsockopt() 841 paddr->can_addr.j1939.pgn = skcb->addr.pgn; in j1939_sk_recvmsg() 895 skcb->addr.pgn = addr->can_addr.j1939.pgn; in j1939_sk_alloc_skb() [all …]
|
A D | main.c | 75 skcb->addr.pgn = (cf->can_id >> 8) & J1939_PGN_MAX; in j1939_can_recv() 85 if (j1939_pgn_is_pdu1(skcb->addr.pgn)) { in j1939_can_recv() 87 skcb->addr.da = skcb->addr.pgn; in j1939_can_recv() 89 skcb->addr.pgn &= 0x3ff00; in j1939_can_recv() 319 if (j1939_pgn_is_pdu1(skcb->addr.pgn)) in j1939_send_one() 320 skcb->addr.pgn &= J1939_PGN_PDU1_MAX; in j1939_send_one() 322 skcb->addr.pgn &= J1939_PGN_MAX; in j1939_send_one() 340 (skcb->addr.pgn << 8) | in j1939_send_one() 342 if (j1939_pgn_is_pdu1(skcb->addr.pgn)) in j1939_send_one()
|
A D | transport.c | 435 pgn_t pgn; in j1939_xtp_ctl_to_pgn() local 439 pgn &= 0xffff00; in j1939_xtp_ctl_to_pgn() 440 return pgn; in j1939_xtp_ctl_to_pgn() 654 skdat[5] = (pgn >> 0); in j1939_xtp_do_tx_ctl() 655 skdat[6] = (pgn >> 8); in j1939_xtp_do_tx_ctl() 656 skdat[7] = (pgn >> 16); in j1939_xtp_do_tx_ctl() 675 pgn_t pgn) in j1939_xtp_tx_abort() argument 1268 if (session->skcb.addr.pgn == pgn) in j1939_xtp_rx_cmd_bad_pgn() 1308 __func__, session, cmd, pgn, session->skcb.addr.pgn); in j1939_xtp_rx_cmd_bad_pgn() 1585 pgn_t pgn; in j1939_xtp_rx_rts_session_new() local [all …]
|
A D | address-claim.c | 42 if (skb->len < 3 || skcb->addr.pgn != J1939_PGN_REQUEST) in j1939_ac_msg_is_request() 86 if (skcb->addr.pgn == J1939_PGN_ADDRESS_CLAIMED) { in j1939_ac_fixup() 213 if (skcb->addr.pgn == J1939_PGN_ADDRESS_CLAIMED) { in j1939_ac_recv()
|
A D | j1939-priv.h | 117 static inline bool j1939_pgn_is_pdu1(pgn_t pgn) in j1939_pgn_is_pdu1() argument 120 return (pgn & 0xff00) < 0xf000; in j1939_pgn_is_pdu1() 146 pgn_t pgn; member
|
/linux/Documentation/networking/ |
A D | j1939.rst | 209 /* pgn: 215 __u32 pgn; 223 ``can_addr.j1939.pgn`` specifies the PGN (max 0x3ffff). Individual bits are 363 .pgn = J1939_NO_PGN, /* to disable bind() rx filter for PGN */ 377 .pgn = J1939_PGN_ADDRESS_CLAIMED, 380 .pgn = J1939_PGN_REQUEST, 383 .pgn = J1939_PGN_ADDRESS_COMMANDED, 394 .pgn = J1939_PGN_ADDRESS_CLAIMED, 437 .pgn = J1939_NO_PGN, 456 .pgn = 0x12300,
|
A D | can.rst | 284 /* pgn: 290 __u32 pgn;
|
/linux/include/uapi/linux/can/ |
A D | j1939.h | 100 pgn_t pgn; member
|
/linux/include/uapi/linux/ |
A D | can.h | 208 __u32 pgn; member
|
Completed in 24 milliseconds