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

Function fromwire_u16

wire/fromwire.c:68–75  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

66}
67
68u16 fromwire_u16(const u8 **cursor, size_t *max)
69{
70 be16 ret;
71
72 if (!fromwire(cursor, max, &ret, sizeof(ret)))
73 return 0;
74 return be16_to_cpu(ret);
75}
76
77u32 fromwire_u32(const u8 **cursor, size_t *max)
78{

Callers 15

extract_channel_idFunction · 0.70
fromwire_s16Function · 0.70
fromwire_hsm_utxoFunction · 0.50
get_nannounce_partsFunction · 0.50
get_nannounce_timestampFunction · 0.50
runFunction · 0.50
create_fuzz_msgFunction · 0.50
create_open_channel_msgFunction · 0.50
handle_custommsgFunction · 0.50
fromwire_opt_u16Function · 0.50
fromwire_dstore_channelFunction · 0.50

Calls 2

be16_to_cpuFunction · 0.85
fromwireFunction · 0.70

Tested by

no test coverage detected