Lines Matching refs:broadcast
137 * @param broadcast 1 if his is an IPv4 broadcast (global or subnet-only), 0 otherwise (only used for IPv4)
141 udp_input_local_match(struct udp_pcb *pcb, struct netif *inp, u8_t broadcast)
144 LWIP_UNUSED_ARG(broadcast); /* in IPv6 only case */
158 if ((broadcast != 0) && !ip_get_option(pcb, SOF_BROADCAST)) {
168 /* Special case: IPv4 broadcast: all or broadcasts in my subnet
169 * Note: broadcast variable can only be 1 if it is an IPv4 broadcast */
170 if (broadcast != 0) {
214 u8_t broadcast;
242 /* is broadcast packet ? */
243 broadcast = ip_addr_isbroadcast(ip_current_dest_addr(), ip_current_netif());
281 (udp_input_local_match(pcb, inp, broadcast) != 0)) {
287 } else if (broadcast && ip4_current_dest_addr()->addr == IPADDR_BROADCAST) {
288 /* global broadcast address (only valid for IPv4; match was checked before) */
397 (broadcast || ip_addr_ismulticast(ip_current_dest_addr()))) {
398 /* pass broadcast- or multicast packets to all multicast pcbs
409 (udp_input_local_match(mpcb, inp, broadcast) != 0)) {
441 destination address was broadcast/multicast. */
442 if (!broadcast && !ip_addr_ismulticast(ip_current_dest_addr())) {
779 /* broadcast filter? */