Home
last modified time | relevance | path

Searched refs:j1939 (Results 1 – 10 of 10) sorted by relevance

/Linux-v6.1/net/can/j1939/
DKconfig11 Say Y to have in-kernel support for j1939 socket type. This
12 allows communication according to SAE j1939.
14 SAE j1939-21 (datalink & transport protocol)
15 & SAE j1939-81 (network management).
Dsocket.c23 #define J1939_MIN_NAMELEN CAN_REQUIRED_SIZE(struct sockaddr_can, can_addr.j1939)
423 if (j1939_pgn_is_valid(addr->can_addr.j1939.pgn) && in j1939_sk_sanity_check()
424 !j1939_pgn_is_clean_pdu(addr->can_addr.j1939.pgn)) in j1939_sk_sanity_check()
502 if (j1939_pgn_is_valid(addr->can_addr.j1939.pgn)) in j1939_sk_bind()
503 jsk->pgn_rx_filter = addr->can_addr.j1939.pgn; in j1939_sk_bind()
504 jsk->addr.src_name = addr->can_addr.j1939.name; in j1939_sk_bind()
505 jsk->addr.sa = addr->can_addr.j1939.addr; in j1939_sk_bind()
547 if (!addr->can_addr.j1939.name && in j1939_sk_connect()
548 addr->can_addr.j1939.addr == J1939_NO_ADDR && in j1939_sk_connect()
555 jsk->addr.dst_name = addr->can_addr.j1939.name; in j1939_sk_connect()
[all …]
DMakefile3 obj-$(CONFIG_CAN_J1939) += can-j1939.o
5 can-j1939-objs := \
/Linux-v6.1/Documentation/networking/
Dj1939.rst172 To use J1939, ``#include <linux/can/j1939.h>``. From there, ``<linux/can.h>`` will be
217 } j1939;
223 ``can_addr.j1939.pgn`` specifies the PGN (max 0x3ffff). Individual bits are
226 ``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 and
249 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 address
348 ``j1939.addr`` member will be ignored.
[all …]
Dindex.rst22 j1939
Dcan.rst294 } j1939;
/Linux-v6.1/net/can/
DMakefile19 obj-$(CONFIG_CAN_J1939) += j1939/
DKconfig56 source "net/can/j1939/Kconfig"
/Linux-v6.1/include/uapi/linux/
Dcan.h263 } j1939; member
/Linux-v6.1/
DMAINTAINERS4670 F: Documentation/networking/j1939.rst
4671 F: include/uapi/linux/can/j1939.h
4672 F: net/can/j1939/