Home
last modified time | relevance | path

Searched refs:MCTP_TAG_OWNER (Results 1 – 5 of 5) sorted by relevance

/linux/Documentation/networking/
H A Dmctp.rst94 addr.smctp_tag = MCTP_TAG_OWNER;
105 this socket. Given the above, the only valid value is ``MCTP_TAG_OWNER``, which
107 ``MCTP_TAG_OWNER`` is set, the 3 least-significant bits of ``smctp_tag`` are not
139 addr.smctp_tag = MCTP_TAG_OWNER;
150 If ``smctp_tag`` has the ``MCTP_TAG_OWNER``, the kernel will ignore any bits set
152 EID. If ``MCTP_TAG_OWNER`` is not set, the message will be sent with the tag
166 Transmitting a message on an unconnected socket with ``MCTP_TAG_OWNER``
245 - ``MCTP_TAG_OWNER``: it only makes sense to allocate tags if you're the tag
260 allocation (including the ``MCTP_TAG_OWNER`` and ``MCTP_TAG_PREALLOC`` bits).
/linux/net/mctp/
H A Daf_mctp.c105 const u8 tagbits = MCTP_TAG_MASK | MCTP_TAG_OWNER | in mctp_sendmsg()
118 !(addr->smctp_tag & MCTP_TAG_OWNER)) in mctp_sendmsg()
446 ctl.tag = tag | MCTP_TAG_OWNER | MCTP_TAG_PREALLOC; in mctp_ioctl_alloctag()
483 if ((ctl.tag & ~MCTP_TAG_MASK) != (MCTP_TAG_OWNER | MCTP_TAG_PREALLOC)) in mctp_ioctl_droptag()
738 BUILD_BUG_ON(MCTP_TAG_OWNER != MCTP_HDR_FLAG_TO); in mctp_init()
H A Droute.c741 req_tag &= ~(MCTP_TAG_PREALLOC | MCTP_TAG_OWNER); in mctp_lookup_prealloc_tag()
990 if (req_tag & MCTP_TAG_OWNER) { in mctp_local_output()
/linux/include/uapi/linux/
H A Dmctp.h46 #define MCTP_TAG_OWNER 0x08 macro
/linux/net/mctp/test/
H A Droute-test.c165 rc = mctp_do_fragment_route(&rt->rt, skb, mtu, MCTP_TAG_OWNER); in mctp_test_fragment()
901 rc = mctp_local_output(sock->sk, &rt->rt, skb, dst, MCTP_TAG_OWNER); in mctp_test_packet_flow()
935 rc = mctp_local_output(sock->sk, &rt->rt, skb, dst, MCTP_TAG_OWNER); in mctp_test_fragment_flow()
1022 rc = mctp_local_output(sock->sk, &rt->rt, skb, dst, MCTP_TAG_OWNER); in mctp_test_route_output_key_create()
1041 KUNIT_EXPECT_FALSE(test, key->tag & MCTP_TAG_OWNER); in mctp_test_route_output_key_create()