Searched refs:j1939 (Results 1 – 9 of 9) sorted by relevance
11 Say Y to have in-kernel support for j1939 socket type. This12 allows communication according to SAE j1939.14 SAE j1939-21 (datalink & transport protocol)15 & SAE j1939-81 (network management).
23 #define J1939_MIN_NAMELEN CAN_REQUIRED_SIZE(struct sockaddr_can, can_addr.j1939)435 if (j1939_pgn_is_valid(addr->can_addr.j1939.pgn) && in j1939_sk_sanity_check()436 !j1939_pgn_is_clean_pdu(addr->can_addr.j1939.pgn)) in j1939_sk_sanity_check()514 if (j1939_pgn_is_valid(addr->can_addr.j1939.pgn)) in j1939_sk_bind()515 jsk->pgn_rx_filter = addr->can_addr.j1939.pgn; in j1939_sk_bind()516 jsk->addr.src_name = addr->can_addr.j1939.name; in j1939_sk_bind()517 jsk->addr.sa = addr->can_addr.j1939.addr; in j1939_sk_bind()559 if (!addr->can_addr.j1939.name && in j1939_sk_connect()560 addr->can_addr.j1939.addr == J1939_NO_ADDR && in j1939_sk_connect()567 jsk->addr.dst_name = addr->can_addr.j1939.name; in j1939_sk_connect()[all …]
3 obj-$(CONFIG_CAN_J1939) += can-j1939.o5 can-j1939-objs := \
172 To use J1939, ``#include <linux/can/j1939.h>``. From there, ``<linux/can.h>`` will be217 } j1939;223 ``can_addr.j1939.pgn`` specifies the PGN (max 0x3ffff). Individual bits are226 ``can_addr.j1939.name`` contains the 64-bit J1939 NAME.228 ``can_addr.j1939.addr`` contains the address.248 If ``can_addr.j1939.name`` is set (!= 0) the NAME is looked up by the kernel and249 the corresponding ADDR is used. If ``can_addr.j1939.name`` is not set (== 0),250 ``can_addr.j1939.addr`` is used.346 ``j1939.name`` member and provide it to ``bind(2)``. If the name had claimed an address348 ``j1939.addr`` member will be ignored.[all …]
23 j1939
294 } j1939;
19 obj-$(CONFIG_CAN_J1939) += j1939/
56 source "net/can/j1939/Kconfig"
268 } j1939; member