MCPcopy Create free account
hub / github.com/ElementsProject/lightning / map_be16

Function map_be16

common/gossmap.c:111–116  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

109}
110
111static u16 map_be16(const struct gossmap *map, size_t offset)
112{
113 be16 be16;
114 map_copy(map, offset, &be16, sizeof(be16));
115 return be16_to_cpu(be16);
116}
117
118static u32 map_be32(const struct gossmap *map, size_t offset)
119{

Callers 8

add_channelFunction · 0.85
update_channelFunction · 0.85
node_announcementFunction · 0.85
map_catchupFunction · 0.85
gossmap_chan_get_featureFunction · 0.85
gossmap_node_get_featureFunction · 0.85

Calls 2

map_copyFunction · 0.85
be16_to_cpuFunction · 0.85

Tested by

no test coverage detected