Lines Matching refs:broadcast
622 static inline void ip_ib_mc_map(__be32 naddr, const unsigned char *broadcast, char *buf)
625 unsigned char scope = broadcast[5] & 0xF;
633 buf[5] = 0x10 | scope; /* scope from broadcast address */
636 buf[8] = broadcast[8]; /* P_Key */
637 buf[9] = broadcast[9];
653 static inline void ip_ipgre_mc_map(__be32 naddr, const unsigned char *broadcast, char *buf)
655 if ((broadcast[0] | broadcast[1] | broadcast[2] | broadcast[3]) != 0)
656 memcpy(buf, broadcast, 4);