OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:trtlv
(Results
1 - 2
of
2
) sorted by relevancy
/src/usr.sbin/ldpd/
fsm.c
59
const struct transport_address_tlv *
trtlv
;
local in function:run_ldp_hello
81
trtlv
= (const struct transport_address_tlv *)(ht + 1);
82
if (
trtlv
->type == htons(TLV_IPV4_TRANSPORT)) {
86
&
trtlv
->address, sizeof(struct in_addr));
87
} else if (
trtlv
->type == htons(TLV_IPV6_TRANSPORT)) {
91
&
trtlv
->address, sizeof(struct in6_addr));
94
ntohs(
trtlv
->type));
socketops.c
408
struct transport_address_tlv *
trtlv
;
local in function:send_hello
442
trtlv
= (struct transport_address_tlv *)(t + 1);
473
trtlv
->type = htons(TLV_IPV4_TRANSPORT);
474
trtlv
->length = htons(sizeof(struct in_addr));
475
/*
trtlv
->address will be set for each socket */
531
trtlv
->address.ip4addr.s_addr = if_sa->sin_addr.s_addr;
543
ntohs(cht->length), ntohs(
trtlv
->length));
551
trtlv
->length = htons(sizeof(struct in6_addr));
552
trtlv
->type = htons(TLV_IPV6_TRANSPORT);
598
memcpy(&
trtlv
->address.ip6addr, &if_sa6->sin6_addr
[
all
...]
Completed in 13 milliseconds
Indexes created Mon Oct 13 16:09:52 GMT 2025