Home
last modified time | relevance | path

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

/linux/net/can/j1939/
H A 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).
H A Dsocket.c23 #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 …]
H A DMakefile3 obj-$(CONFIG_CAN_J1939) += can-j1939.o
5 can-j1939-objs := \
/linux/Documentation/networking/
H A 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 …]
H A Dindex.rst23 j1939
H A Dcan.rst294 } j1939;
/linux/net/can/
H A DMakefile19 obj-$(CONFIG_CAN_J1939) += j1939/
H A DKconfig56 source "net/can/j1939/Kconfig"
/linux/include/uapi/linux/
H A Dcan.h268 } j1939; member