Lines Matching defs:broadcast
126 * @param broadcast 1 if his is an IPv4 broadcast (global or subnet-only), 0 otherwise (only used for IPv4)
130 udp_input_local_match(struct udp_pcb *pcb, struct netif *inp, u8_t broadcast)
133 LWIP_UNUSED_ARG(broadcast); /* in IPv6 only case */
138 if ((broadcast != 0) && !ip_get_option(pcb, SOF_BROADCAST)) {
148 /* Special case: IPv4 broadcast: all or broadcasts in my subnet
149 * Note: broadcast variable can only be 1 if it is an IPv4 broadcast */
150 if (broadcast != 0) {
191 u8_t broadcast;
214 /* is broadcast packet ? */
215 broadcast = ip_addr_isbroadcast(ip_current_dest_addr(), ip_current_netif());
249 (udp_input_local_match(pcb, inp, broadcast) != 0)) {
352 (broadcast || ip_addr_ismulticast(ip_current_dest_addr()))) {
353 /* pass broadcast- or multicast packets to all multicast pcbs
362 (udp_input_local_match(mpcb, inp, broadcast) != 0)) {
404 destination address was broadcast/multicast. */
405 if (!broadcast && !ip_addr_ismulticast(ip_current_dest_addr())) {
687 /* broadcast filter? */