skcb 932 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c struct brcmf_skbuff_cb *skcb; skcb 959 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c skcb = brcmf_skbcb(skb); skcb 960 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c skcb->mac = entry; skcb 961 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c skcb->state = BRCMF_FWS_SKBSTATE_TIM; skcb 962 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c skcb->htod = 0; skcb 963 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c skcb->htod_seq = 0; skcb 1460 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c struct brcmf_skbuff_cb *skcb; skcb 1490 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c skcb = brcmf_skbcb(skb); skcb 1491 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c entry = skcb->mac; skcb 1501 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c flags, skcb->htod, seq); skcb 1975 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c struct brcmf_skbuff_cb *skcb = brcmf_skbcb(p); skcb 1976 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c struct brcmf_fws_mac_descriptor *entry = skcb->mac; skcb 1979 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c if (skcb->state != BRCMF_FWS_SKBSTATE_SUPPRESSED) skcb 2057 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c struct brcmf_skbuff_cb *skcb = brcmf_skbcb(skb); skcb 2063 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c entry = skcb->mac; skcb 2076 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c skcb->if_flags, skcb->htod, rc); skcb 2100 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c struct brcmf_skbuff_cb *skcb = brcmf_skbcb(p); skcb 2103 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c skcb->htod = 0; skcb 2104 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c skcb->htod_seq = 0; skcb 2107 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c brcmf_skb_htod_tag_set_field(p, FREERUN, skcb->mac->seq[fifo]); skcb 2111 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c skcb->mac->seq[fifo]++; skcb 2121 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c struct brcmf_skbuff_cb *skcb = brcmf_skbcb(skb); skcb 2130 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c skcb->if_flags = 0; skcb 2131 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c skcb->state = BRCMF_FWS_SKBSTATE_NEW; skcb 2141 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c skcb->mac = brcmf_fws_macdesc_find(fws, ifp, eh->h_dest); skcb 2142 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c brcmf_dbg(DATA, "%s mac %pM multi %d fifo %d\n", skcb->mac->name, skcb 39 net/can/j1939/address-claim.c struct j1939_sk_buff_cb *skcb = j1939_skb_to_cb(skb); skcb 42 net/can/j1939/address-claim.c if (skb->len < 3 || skcb->addr.pgn != J1939_PGN_REQUEST) skcb 53 net/can/j1939/address-claim.c struct j1939_sk_buff_cb *skcb = j1939_skb_to_cb(skb); skcb 61 net/can/j1939/address-claim.c if (skcb->addr.src_name != j1939_skb_to_name(skb)) { skcb 66 net/can/j1939/address-claim.c if (skcb->addr.sa == J1939_NO_ADDR) { skcb 72 net/can/j1939/address-claim.c if (skcb->addr.dst_name || skcb->addr.da != J1939_NO_ADDR) { skcb 81 net/can/j1939/address-claim.c struct j1939_sk_buff_cb *skcb = j1939_skb_to_cb(skb); skcb 86 net/can/j1939/address-claim.c if (skcb->addr.pgn == J1939_PGN_ADDRESS_CLAIMED) { skcb 93 net/can/j1939/address-claim.c ecu = j1939_ecu_get_by_name(priv, skcb->addr.src_name); skcb 97 net/can/j1939/address-claim.c if (ecu->addr != skcb->addr.sa) skcb 101 net/can/j1939/address-claim.c } else if (skcb->addr.src_name) { skcb 103 net/can/j1939/address-claim.c addr = j1939_name_to_addr(priv, skcb->addr.src_name); skcb 107 net/can/j1939/address-claim.c skcb->addr.src_name); skcb 110 net/can/j1939/address-claim.c skcb->addr.sa = addr; skcb 114 net/can/j1939/address-claim.c if (skcb->addr.dst_name) { skcb 115 net/can/j1939/address-claim.c addr = j1939_name_to_addr(priv, skcb->addr.dst_name); skcb 118 net/can/j1939/address-claim.c skcb->addr.dst_name); skcb 121 net/can/j1939/address-claim.c skcb->addr.da = addr; skcb 128 net/can/j1939/address-claim.c struct j1939_sk_buff_cb *skcb = j1939_skb_to_cb(skb); skcb 139 net/can/j1939/address-claim.c skcb->addr.src_name = name; skcb 145 net/can/j1939/address-claim.c if (!j1939_address_is_valid(skcb->addr.sa)) { skcb 168 net/can/j1939/address-claim.c if (!ecu && j1939_address_is_unicast(skcb->addr.sa)) skcb 177 net/can/j1939/address-claim.c if (j1939_address_is_idle(skcb->addr.sa)) { skcb 183 net/can/j1939/address-claim.c if (ecu->addr != skcb->addr.sa) skcb 185 net/can/j1939/address-claim.c ecu->addr = skcb->addr.sa; skcb 187 net/can/j1939/address-claim.c prev = j1939_ecu_get_by_addr_locked(priv, skcb->addr.sa); skcb 209 net/can/j1939/address-claim.c struct j1939_sk_buff_cb *skcb = j1939_skb_to_cb(skb); skcb 213 net/can/j1939/address-claim.c if (skcb->addr.pgn == J1939_PGN_ADDRESS_CLAIMED) { skcb 215 net/can/j1939/address-claim.c } else if (j1939_address_is_unicast(skcb->addr.sa)) { skcb 217 net/can/j1939/address-claim.c ecu = j1939_ecu_get_by_addr(priv, skcb->addr.sa); skcb 219 net/can/j1939/address-claim.c skcb->addr.src_name = ecu->name; skcb 225 net/can/j1939/address-claim.c ecu = j1939_ecu_get_by_addr(priv, skcb->addr.da); skcb 227 net/can/j1939/address-claim.c skcb->addr.dst_name = ecu->name; skcb 182 net/can/j1939/j1939-priv.h struct j1939_sk_buff_cb *skcb); skcb 237 net/can/j1939/j1939-priv.h struct j1939_sk_buff_cb skcb; skcb 42 net/can/j1939/main.c struct j1939_sk_buff_cb *skcb, *iskcb; skcb 68 net/can/j1939/main.c skcb = j1939_skb_to_cb(skb); skcb 69 net/can/j1939/main.c memset(skcb, 0, sizeof(*skcb)); skcb 72 net/can/j1939/main.c skcb->tskey = iskcb->tskey; skcb 73 net/can/j1939/main.c skcb->priority = (cf->can_id >> 26) & 0x7; skcb 74 net/can/j1939/main.c skcb->addr.sa = cf->can_id; skcb 75 net/can/j1939/main.c skcb->addr.pgn = (cf->can_id >> 8) & J1939_PGN_MAX; skcb 77 net/can/j1939/main.c skcb->addr.type = J1939_TP; skcb 78 net/can/j1939/main.c if (j1939_pgn_is_pdu1(skcb->addr.pgn)) { skcb 80 net/can/j1939/main.c skcb->addr.da = skcb->addr.pgn; skcb 82 net/can/j1939/main.c skcb->addr.pgn &= 0x3ff00; skcb 85 net/can/j1939/main.c skcb->addr.da = J1939_NO_ADDR; skcb 90 net/can/j1939/main.c if (j1939_address_is_unicast(skcb->addr.sa) && skcb 91 net/can/j1939/main.c priv->ents[skcb->addr.sa].nusers) skcb 92 net/can/j1939/main.c skcb->flags |= J1939_ECU_LOCAL_SRC; skcb 93 net/can/j1939/main.c if (j1939_address_is_unicast(skcb->addr.da) && skcb 94 net/can/j1939/main.c priv->ents[skcb->addr.da].nusers) skcb 95 net/can/j1939/main.c skcb->flags |= J1939_ECU_LOCAL_DST; skcb 307 net/can/j1939/main.c struct j1939_sk_buff_cb *skcb = j1939_skb_to_cb(skb); skcb 311 net/can/j1939/main.c if (j1939_pgn_is_pdu1(skcb->addr.pgn)) skcb 312 net/can/j1939/main.c skcb->addr.pgn &= J1939_PGN_PDU1_MAX; skcb 314 net/can/j1939/main.c skcb->addr.pgn &= J1939_PGN_MAX; skcb 316 net/can/j1939/main.c if (skcb->priority > 7) skcb 317 net/can/j1939/main.c skcb->priority = 6; skcb 331 net/can/j1939/main.c (skcb->priority << 26) | skcb 332 net/can/j1939/main.c (skcb->addr.pgn << 8) | skcb 333 net/can/j1939/main.c skcb->addr.sa; skcb 334 net/can/j1939/main.c if (j1939_pgn_is_pdu1(skcb->addr.pgn)) skcb 335 net/can/j1939/main.c canid |= skcb->addr.da << 8; skcb 209 net/can/j1939/socket.c const struct j1939_sk_buff_cb *skcb) skcb 215 net/can/j1939/socket.c if (jsk->addr.src_name && skcb->addr.dst_name) { skcb 216 net/can/j1939/socket.c if (jsk->addr.src_name != skcb->addr.dst_name) skcb 224 net/can/j1939/socket.c if (j1939_address_is_unicast(skcb->addr.da)) { skcb 225 net/can/j1939/socket.c if (jsk->addr.sa != skcb->addr.da) skcb 240 net/can/j1939/socket.c if (jsk->addr.dst_name && skcb->addr.src_name) { skcb 241 net/can/j1939/socket.c if (jsk->addr.dst_name != skcb->addr.src_name) skcb 244 net/can/j1939/socket.c if (jsk->addr.da != skcb->addr.sa) skcb 251 net/can/j1939/socket.c jsk->pgn_rx_filter != skcb->addr.pgn) skcb 259 net/can/j1939/socket.c const struct j1939_sk_buff_cb *skcb) skcb 269 net/can/j1939/socket.c if ((skcb->addr.pgn & f->pgn_mask) != f->pgn) skcb 271 net/can/j1939/socket.c if ((skcb->addr.sa & f->addr_mask) != f->addr) skcb 273 net/can/j1939/socket.c if ((skcb->addr.src_name & f->name_mask) != f->name) skcb 281 net/can/j1939/socket.c const struct j1939_sk_buff_cb *skcb) skcb 286 net/can/j1939/socket.c if (!j1939_sk_match_dst(jsk, skcb)) skcb 289 net/can/j1939/socket.c if (!j1939_sk_match_filter(jsk, skcb)) skcb 298 net/can/j1939/socket.c struct j1939_sk_buff_cb *skcb; skcb 314 net/can/j1939/socket.c skcb = j1939_skb_to_cb(skb); skcb 315 net/can/j1939/socket.c skcb->msg_flags &= ~(MSG_DONTROUTE); skcb 317 net/can/j1939/socket.c skcb->msg_flags |= MSG_DONTROUTE; skcb 323 net/can/j1939/socket.c bool j1939_sk_recv_match(struct j1939_priv *priv, struct j1939_sk_buff_cb *skcb) skcb 330 net/can/j1939/socket.c match = j1939_sk_recv_match_one(jsk, skcb); skcb 777 net/can/j1939/socket.c struct j1939_sk_buff_cb *skcb; skcb 802 net/can/j1939/socket.c skcb = j1939_skb_to_cb(skb); skcb 803 net/can/j1939/socket.c if (j1939_address_is_valid(skcb->addr.da)) skcb 805 net/can/j1939/socket.c sizeof(skcb->addr.da), &skcb->addr.da); skcb 807 net/can/j1939/socket.c if (skcb->addr.dst_name) skcb 809 net/can/j1939/socket.c sizeof(skcb->addr.dst_name), &skcb->addr.dst_name); skcb 812 net/can/j1939/socket.c sizeof(skcb->priority), &skcb->priority); skcb 821 net/can/j1939/socket.c paddr->can_addr.j1939.name = skcb->addr.src_name; skcb 822 net/can/j1939/socket.c paddr->can_addr.j1939.addr = skcb->addr.sa; skcb 823 net/can/j1939/socket.c paddr->can_addr.j1939.pgn = skcb->addr.pgn; skcb 827 net/can/j1939/socket.c msg->msg_flags |= skcb->msg_flags; skcb 839 net/can/j1939/socket.c struct j1939_sk_buff_cb *skcb; skcb 863 net/can/j1939/socket.c skcb = j1939_skb_to_cb(skb); skcb 864 net/can/j1939/socket.c memset(skcb, 0, sizeof(*skcb)); skcb 865 net/can/j1939/socket.c skcb->addr = jsk->addr; skcb 866 net/can/j1939/socket.c skcb->priority = j1939_prio(sk->sk_priority); skcb 873 net/can/j1939/socket.c skcb->addr.dst_name = addr->can_addr.j1939.name; skcb 874 net/can/j1939/socket.c skcb->addr.da = addr->can_addr.j1939.addr; skcb 877 net/can/j1939/socket.c skcb->addr.pgn = addr->can_addr.j1939.pgn; skcb 907 net/can/j1939/socket.c if (session->skcb.addr.type == J1939_SIMPLE) skcb 1019 net/can/j1939/socket.c struct j1939_sk_buff_cb *skcb; skcb 1030 net/can/j1939/socket.c skcb = j1939_skb_to_cb(skb); skcb 1036 net/can/j1939/socket.c skcb->offset = 0; skcb 1057 net/can/j1939/socket.c skcb->offset = session->total_queued_size; skcb 310 net/can/j1939/transport.c static inline bool j1939_cb_is_broadcast(const struct j1939_sk_buff_cb *skcb) skcb 312 net/can/j1939/transport.c return (!skcb->addr.dst_name && (skcb->addr.da == 0xff)); skcb 341 net/can/j1939/transport.c struct j1939_sk_buff_cb *skcb = j1939_skb_to_cb(skb); skcb 346 net/can/j1939/transport.c if (j1939_address_is_unicast(skcb->addr.da) && skcb 347 net/can/j1939/transport.c priv->ents[skcb->addr.da].nusers) skcb 348 net/can/j1939/transport.c skcb->flags |= J1939_ECU_LOCAL_DST; skcb 350 net/can/j1939/transport.c skcb->flags |= J1939_ECU_LOCAL_SRC; skcb 388 net/can/j1939/transport.c static inline int j1939_tp_im_receiver(const struct j1939_sk_buff_cb *skcb) skcb 390 net/can/j1939/transport.c return skcb->flags & J1939_ECU_LOCAL_DST; skcb 394 net/can/j1939/transport.c static inline int j1939_tp_im_transmitter(const struct j1939_sk_buff_cb *skcb) skcb 396 net/can/j1939/transport.c return skcb->flags & J1939_ECU_LOCAL_SRC; skcb 400 net/can/j1939/transport.c static int j1939_tp_im_involved(const struct j1939_sk_buff_cb *skcb, bool swap) skcb 403 net/can/j1939/transport.c return j1939_tp_im_receiver(skcb); skcb 405 net/can/j1939/transport.c return j1939_tp_im_transmitter(skcb); skcb 408 net/can/j1939/transport.c static int j1939_tp_im_involved_anydir(struct j1939_sk_buff_cb *skcb) skcb 410 net/can/j1939/transport.c return skcb->flags & (J1939_ECU_LOCAL_SRC | J1939_ECU_LOCAL_DST); skcb 497 net/can/j1939/transport.c if (j1939_session_match(&session->skcb.addr, addr, reverse) && skcb 510 net/can/j1939/transport.c struct j1939_sk_buff_cb *skcb = j1939_skb_to_cb(skb); skcb 518 net/can/j1939/transport.c if (session->skcb.addr.type == J1939_SIMPLE && skcb 519 net/can/j1939/transport.c session->tskey == skcb->tskey && session->sk == skb->sk) skcb 543 net/can/j1939/transport.c static void j1939_skbcb_swap(struct j1939_sk_buff_cb *skcb) skcb 547 net/can/j1939/transport.c swap(skcb->addr.dst_name, skcb->addr.src_name); skcb 548 net/can/j1939/transport.c swap(skcb->addr.da, skcb->addr.sa); skcb 551 net/can/j1939/transport.c if (skcb->flags & J1939_ECU_LOCAL_SRC) skcb 553 net/can/j1939/transport.c if (skcb->flags & J1939_ECU_LOCAL_DST) skcb 555 net/can/j1939/transport.c skcb->flags &= ~(J1939_ECU_LOCAL_SRC | J1939_ECU_LOCAL_DST); skcb 556 net/can/j1939/transport.c skcb->flags |= tmp; skcb 566 net/can/j1939/transport.c struct j1939_sk_buff_cb *skcb; skcb 580 net/can/j1939/transport.c skcb = j1939_skb_to_cb(skb); skcb 582 net/can/j1939/transport.c j1939_skbcb_swap(skcb); skcb 585 net/can/j1939/transport.c if (skcb->addr.type == J1939_ETP) skcb 586 net/can/j1939/transport.c skcb->addr.pgn = J1939_ETP_PGN_CTL; skcb 588 net/can/j1939/transport.c skcb->addr.pgn = J1939_TP_PGN_CTL; skcb 590 net/can/j1939/transport.c if (skcb->addr.type == J1939_ETP) skcb 591 net/can/j1939/transport.c skcb->addr.pgn = J1939_ETP_PGN_DAT; skcb 593 net/can/j1939/transport.c skcb->addr.pgn = J1939_TP_PGN_DAT; skcb 606 net/can/j1939/transport.c skb = j1939_tp_tx_dat_new(priv, &session->skcb, skcb 646 net/can/j1939/transport.c return j1939_xtp_do_tx_ctl(priv, &session->skcb, skcb 648 net/can/j1939/transport.c session->skcb.addr.pgn, dat); skcb 695 net/can/j1939/transport.c if (session->skcb.addr.type == J1939_ETP) { skcb 701 net/can/j1939/transport.c } else if (j1939_cb_is_broadcast(&session->skcb)) { skcb 761 net/can/j1939/transport.c struct j1939_sk_buff_cb *skcb; skcb 773 net/can/j1939/transport.c skcb = j1939_skb_to_cb(se_skb); skcb 777 net/can/j1939/transport.c if (session->skcb.addr.type != J1939_ETP && skcb 778 net/can/j1939/transport.c j1939_cb_is_broadcast(&session->skcb)) skcb 785 net/can/j1939/transport.c offset = (session->pkt.tx * 7) - skcb->offset; skcb 804 net/can/j1939/transport.c pdelay = j1939_cb_is_broadcast(&session->skcb) ? 50 : skcb 824 net/can/j1939/transport.c if (!j1939_tp_im_transmitter(&session->skcb)) { skcb 865 net/can/j1939/transport.c if (!j1939_sk_recv_match(priv, &session->skcb)) skcb 872 net/can/j1939/transport.c if (session->skcb.addr.type == J1939_ETP) { skcb 909 net/can/j1939/transport.c if (!j1939_sk_recv_match(priv, &session->skcb)) skcb 914 net/can/j1939/transport.c if (session->skcb.addr.type == J1939_ETP) { skcb 950 net/can/j1939/transport.c if (!j1939_tp_im_receiver(&session->skcb)) { skcb 966 net/can/j1939/transport.c if ((session->skcb.addr.type == J1939_TP && skcb 967 net/can/j1939/transport.c j1939_cb_is_broadcast(&session->skcb))) skcb 1059 net/can/j1939/transport.c if (!j1939_cb_is_broadcast(&session->skcb)) { skcb 1061 net/can/j1939/transport.c j1939_xtp_tx_abort(priv, &session->skcb, skcb 1063 net/can/j1939/transport.c err, session->skcb.addr.pgn); skcb 1091 net/can/j1939/transport.c if (session->skcb.addr.type == J1939_SIMPLE) { skcb 1129 net/can/j1939/transport.c if (session->skcb.addr.type != J1939_SIMPLE) { skcb 1169 net/can/j1939/transport.c } else if (session->skcb.addr.type == J1939_SIMPLE) { skcb 1202 net/can/j1939/transport.c const struct j1939_sk_buff_cb *skcb = j1939_skb_to_cb(skb); skcb 1208 net/can/j1939/transport.c if (session->skcb.addr.pgn == pgn) skcb 1245 net/can/j1939/transport.c __func__, session, cmd, pgn, session->skcb.addr.pgn); skcb 1247 net/can/j1939/transport.c j1939_xtp_tx_abort(priv, skcb, true, abort, pgn); skcb 1255 net/can/j1939/transport.c struct j1939_sk_buff_cb *skcb = j1939_skb_to_cb(skb); skcb 1259 net/can/j1939/transport.c session = j1939_session_get_by_addr(priv, &skcb->addr, reverse, skcb 1293 net/can/j1939/transport.c struct j1939_sk_buff_cb *skcb = j1939_skb_to_cb(skb); skcb 1302 net/can/j1939/transport.c if (skcb->addr.type == J1939_ETP) skcb 1326 net/can/j1939/transport.c struct j1939_sk_buff_cb *skcb = j1939_skb_to_cb(skb); skcb 1329 net/can/j1939/transport.c session = j1939_session_get_by_addr(priv, &skcb->addr, true, skcb 1357 net/can/j1939/transport.c if (session->skcb.addr.type == J1939_ETP) skcb 1401 net/can/j1939/transport.c struct j1939_sk_buff_cb *skcb = j1939_skb_to_cb(skb); skcb 1404 net/can/j1939/transport.c session = j1939_session_get_by_addr(priv, &skcb->addr, true, skcb 1416 net/can/j1939/transport.c struct j1939_sk_buff_cb *skcb; skcb 1434 net/can/j1939/transport.c skcb = j1939_skb_to_cb(skb); skcb 1435 net/can/j1939/transport.c memcpy(&session->skcb, skcb, sizeof(session->skcb)); skcb 1445 net/can/j1939/transport.c __func__, session, skcb->addr.sa, skcb->addr.da); skcb 1456 net/can/j1939/transport.c struct j1939_sk_buff_cb *skcb; skcb 1466 net/can/j1939/transport.c skcb = j1939_skb_to_cb(skb); skcb 1467 net/can/j1939/transport.c memcpy(skcb, rel_skcb, sizeof(*skcb)); skcb 1488 net/can/j1939/transport.c if (session->skcb.addr.type != J1939_SIMPLE) skcb 1491 net/can/j1939/transport.c &session->skcb.addr, false, skcb 1516 net/can/j1939/transport.c struct j1939_sk_buff_cb skcb = *j1939_skb_to_cb(skb); skcb 1526 net/can/j1939/transport.c skcb.addr.pgn = pgn; skcb 1528 net/can/j1939/transport.c if (!j1939_sk_recv_match(priv, &skcb)) skcb 1531 net/can/j1939/transport.c if (skcb.addr.type == J1939_ETP) { skcb 1548 net/can/j1939/transport.c j1939_xtp_tx_abort(priv, &skcb, true, abort, pgn); skcb 1552 net/can/j1939/transport.c session = j1939_session_fresh_new(priv, len, &skcb); skcb 1554 net/can/j1939/transport.c j1939_xtp_tx_abort(priv, &skcb, true, skcb 1562 net/can/j1939/transport.c if (skcb.addr.type != J1939_ETP) { skcb 1582 net/can/j1939/transport.c struct j1939_sk_buff_cb *skcb = j1939_skb_to_cb(skb); skcb 1597 net/can/j1939/transport.c __func__, session, skcb->addr.sa, skcb->addr.da, skcb 1606 net/can/j1939/transport.c if (session->skcb.addr.sa != skcb->addr.sa || skcb 1607 net/can/j1939/transport.c session->skcb.addr.da != skcb->addr.da) skcb 1610 net/can/j1939/transport.c session->skcb.addr.sa, skcb->addr.sa, skcb 1611 net/can/j1939/transport.c session->skcb.addr.da, skcb->addr.da); skcb 1616 net/can/j1939/transport.c session->skcb.addr.sa = skcb->addr.sa; skcb 1617 net/can/j1939/transport.c session->skcb.addr.da = skcb->addr.da; skcb 1627 net/can/j1939/transport.c struct j1939_sk_buff_cb *skcb = j1939_skb_to_cb(skb); skcb 1631 net/can/j1939/transport.c session = j1939_session_get_by_addr(priv, &skcb->addr, false, skcb 1693 net/can/j1939/transport.c struct j1939_sk_buff_cb *skcb = j1939_skb_to_cb(skb); skcb 1696 net/can/j1939/transport.c session = j1939_session_get_by_addr(priv, &skcb->addr, false, skcb 1712 net/can/j1939/transport.c struct j1939_sk_buff_cb *skcb; skcb 1722 net/can/j1939/transport.c skcb = j1939_skb_to_cb(skb); skcb 1732 net/can/j1939/transport.c if (skcb->addr.type == J1939_ETP) skcb 1737 net/can/j1939/transport.c if (skcb->addr.type != J1939_ETP) skcb 1760 net/can/j1939/transport.c skcb = j1939_skb_to_cb(se_skb); skcb 1761 net/can/j1939/transport.c offset = packet * 7 - skcb->offset; skcb 1776 net/can/j1939/transport.c if (skcb->addr.type != J1939_ETP && skcb 1777 net/can/j1939/transport.c j1939_cb_is_broadcast(&session->skcb)) { skcb 1808 net/can/j1939/transport.c struct j1939_sk_buff_cb *skcb; skcb 1811 net/can/j1939/transport.c skcb = j1939_skb_to_cb(skb); skcb 1813 net/can/j1939/transport.c if (j1939_tp_im_transmitter(skcb)) { skcb 1814 net/can/j1939/transport.c session = j1939_session_get_by_addr(priv, &skcb->addr, false, skcb 1823 net/can/j1939/transport.c if (j1939_tp_im_receiver(skcb)) { skcb 1824 net/can/j1939/transport.c session = j1939_session_get_by_addr(priv, &skcb->addr, false, skcb 1838 net/can/j1939/transport.c struct j1939_sk_buff_cb *skcb = j1939_skb_to_cb(skb); skcb 1842 net/can/j1939/transport.c if (skcb->addr.pgn == J1939_TP_PGN_DAT || skcb 1843 net/can/j1939/transport.c skcb->addr.pgn == J1939_TP_PGN_CTL || skcb 1844 net/can/j1939/transport.c skcb->addr.pgn == J1939_ETP_PGN_DAT || skcb 1845 net/can/j1939/transport.c skcb->addr.pgn == J1939_ETP_PGN_CTL) skcb 1853 net/can/j1939/transport.c skcb->addr.type = J1939_SIMPLE; skcb 1855 net/can/j1939/transport.c skcb->addr.type = J1939_ETP; skcb 1857 net/can/j1939/transport.c skcb->addr.type = J1939_TP; skcb 1859 net/can/j1939/transport.c if (skcb->addr.type == J1939_ETP && skcb 1860 net/can/j1939/transport.c j1939_cb_is_broadcast(skcb)) skcb 1869 net/can/j1939/transport.c if (j1939_address_is_unicast(skcb->addr.da) && skcb 1870 net/can/j1939/transport.c priv->ents[skcb->addr.da].nusers) skcb 1871 net/can/j1939/transport.c skcb->flags |= J1939_ECU_LOCAL_DST; skcb 1874 net/can/j1939/transport.c skcb->flags |= J1939_ECU_LOCAL_SRC; skcb 1886 net/can/j1939/transport.c session->pkt.block = skcb->addr.type == J1939_ETP ? 255 : skcb 1889 net/can/j1939/transport.c if (j1939_cb_is_broadcast(&session->skcb)) skcb 1893 net/can/j1939/transport.c skcb->tskey = session->sk->sk_tskey++; skcb 1894 net/can/j1939/transport.c session->tskey = skcb->tskey; skcb 1901 net/can/j1939/transport.c struct j1939_sk_buff_cb *skcb = j1939_skb_to_cb(skb); skcb 1911 net/can/j1939/transport.c if (skcb->addr.type != extd) skcb 1914 net/can/j1939/transport.c if (cmd == J1939_TP_CMD_RTS && j1939_cb_is_broadcast(skcb)) { skcb 1916 net/can/j1939/transport.c __func__, skcb->addr.sa); skcb 1920 net/can/j1939/transport.c if (j1939_tp_im_transmitter(skcb)) skcb 1923 net/can/j1939/transport.c if (j1939_tp_im_receiver(skcb)) skcb 1932 net/can/j1939/transport.c if (skcb->addr.type != extd) skcb 1935 net/can/j1939/transport.c if (j1939_tp_im_transmitter(skcb)) skcb 1938 net/can/j1939/transport.c if (j1939_tp_im_receiver(skcb)) skcb 1944 net/can/j1939/transport.c if (skcb->addr.type != J1939_ETP) skcb 1947 net/can/j1939/transport.c if (j1939_tp_im_transmitter(skcb)) skcb 1950 net/can/j1939/transport.c if (j1939_tp_im_receiver(skcb)) skcb 1959 net/can/j1939/transport.c if (skcb->addr.type != extd) skcb 1962 net/can/j1939/transport.c if (j1939_tp_im_transmitter(skcb)) skcb 1965 net/can/j1939/transport.c if (j1939_tp_im_receiver(skcb)) skcb 1971 net/can/j1939/transport.c if (j1939_tp_im_transmitter(skcb)) skcb 1974 net/can/j1939/transport.c if (j1939_tp_im_receiver(skcb)) skcb 1985 net/can/j1939/transport.c struct j1939_sk_buff_cb *skcb = j1939_skb_to_cb(skb); skcb 1987 net/can/j1939/transport.c if (!j1939_tp_im_involved_anydir(skcb)) skcb 1990 net/can/j1939/transport.c switch (skcb->addr.pgn) { skcb 1992 net/can/j1939/transport.c skcb->addr.type = J1939_ETP; skcb 1999 net/can/j1939/transport.c skcb->addr.type = J1939_ETP;