Searched refs:mc_addr (Results 1 - 12 of 12) sorted by relevance

/haiku-fatelf/src/bin/network/atftpd/
H A Dtftpd.h46 char *mc_addr; /* multicast address */ member in struct:thread_data
H A Dtftpd_file.c598 opt_set_multicast(data->tftp_options, thread->mc_addr,
601 thread->mc_addr, thread->mc_port, 0);
622 if (tftpd_mcast_get_tid(&data->mc_addr, &data->mc_port) != OK)
629 data->mc_addr, data->mc_port);
632 if (inet_aton(data->mc_addr, &data->sa_mcast.sin_addr) == 0)
634 logger(LOG_ERR, "bad address %s\n",data->mc_addr);
657 opt_set_multicast(data->tftp_options, data->mc_addr,
659 logger(LOG_INFO, "multicast option -> %s,%d,%d", data->mc_addr,
675 opt_set_multicast(options, data->mc_addr, data->mc_port, 0);
H A Dtftpd.c733 tftpd_mcast_free_tid(data->mc_addr, data->mc_port);
/haiku-fatelf/src/add-ons/kernel/drivers/network/ipro1000/dev/e1000/
H A De1000_vf.c349 * @mc_addr: pointer to a multicast address
354 static u32 e1000_hash_mc_addr_vf(struct e1000_hw *hw, u8 *mc_addr) argument
371 hash_value = hash_mask & (((mc_addr[4] >> (8 - bit_shift)) |
372 (((u16) mc_addr[5]) << bit_shift)));
H A De1000_mac.h83 u32 e1000_hash_mc_addr_generic(struct e1000_hw *hw, u8 *mc_addr);
H A De1000_api.h72 u32 e1000_hash_mc_addr(struct e1000_hw *hw, u8 *mc_addr);
H A De1000_api.c836 * @mc_addr: Multicast address to hash.
842 u32 e1000_hash_mc_addr(struct e1000_hw *hw, u8 *mc_addr) argument
844 return e1000_hash_mc_addr_generic(hw, mc_addr);
H A De1000_mac.c502 * @mc_addr: pointer to a multicast address
507 u32 e1000_hash_mc_addr_generic(struct e1000_hw *hw, u8 *mc_addr) argument
529 * left-shifts where the MSB of mc_addr[5] would still fall within
531 * of 8 bits of shifting, then mc_addr[4] will shift right the
534 * number of bits to shift mc_addr[5] left, while still keeping the
565 hash_value = hash_mask & (((mc_addr[4] >> (8 - bit_shift)) |
566 (((u16) mc_addr[5]) << bit_shift)));
/haiku-fatelf/src/add-ons/kernel/drivers/network/ipro100/dev/fxp/
H A Dif_fxpreg.h239 uint8_t mc_addr[MAXMCADDR][6]; member in struct:fxp_cb_mcs
H A Dif_fxp.c2980 &sc->mcsp->mc_addr[nmcasts][0], ETHER_ADDR_LEN);
/haiku-fatelf/src/add-ons/kernel/drivers/network/ipro1000/
H A Dif_em_hw.c3886 * mc_addr - the multicast address to hash
3890 uint8_t *mc_addr)
3904 hash_value = ((mc_addr[4] >> 4) | (((uint16_t) mc_addr[5]) << 4));
3908 hash_value = ((mc_addr[4] >> 3) | (((uint16_t) mc_addr[5]) << 5));
3912 hash_value = ((mc_addr[4] >> 2) | (((uint16_t) mc_addr[5]) << 6));
3916 hash_value = ((mc_addr[4]) | (((uint16_t) mc_addr[
3889 em_hash_mc_addr(struct em_hw *hw, uint8_t *mc_addr) argument
[all...]
H A Dif_em_hw.h301 uint32_t em_hash_mc_addr(struct em_hw *hw, uint8_t * mc_addr);
303 void em_rar_set(struct em_hw *hw, uint8_t * mc_addr, uint32_t rar_index);

Completed in 205 milliseconds