udp_input_local_match() is only used within LwIP.
 
Symbols
loading...
Files
loading...

udp_input_local_match() function

Common code to see if the current input packet matches the pcb (current input packet is accessed via ip(4/6)_current_* macros)

Syntax

static u8_t udp_input_local_match(struct udp_pcb *pcb,     struct netif *inp,     u8_t broadcast);

Arguments

pcb

pcb to check

inp

network interface on which the datagram was received (only used for IPv4)

broadcast

1 if his is an IPv4 broadcast (global or subnet-only), 0 otherwise (only used for IPv4)

Return value

1 on match, 0 otherwise

References

LocationReferrerText
udp.c:130
udp_input_local_match(struct udp_pcb *pcb, struct netif *inp, u8_t broadcast)
udp.c:263udp_input()
(udp_input_local_match(pcb, inp, broadcast) != 0)) {

Call Tree

Functions calling udp_input_local_match()
Functions called by udp_input_local_match()
all items filtered out
udp_input_local_match()
printf()
all items filtered out
Type of udp_input_local_match()
udp_input_local_match()
all items filtered out