Searched refs:N_ADVERTISE (Results 1 – 3 of 3) sorted by relevance
/systemd-251/src/shared/ |
D | ethtool-util.c | 248 assert_cc((ELEMENTSOF(ethtool_link_mode_bit_table)-1) / 32 < N_ADVERTISE); 925 const uint32_t advertise[static N_ADVERTISE], in ethtool_set_glinksettings() argument 940 if (autonegotiation < 0 && memeqzero(advertise, sizeof(uint32_t) * N_ADVERTISE) && in ethtool_set_glinksettings() 951 … if (autonegotiation == AUTONEG_ENABLE || !memeqzero(advertise, sizeof(uint32_t) * N_ADVERTISE)) { in ethtool_set_glinksettings() 987 if (!memeqzero(advertise, sizeof(uint32_t) * N_ADVERTISE)) { in ethtool_set_glinksettings() 991 … memcmp(&u->link_modes.advertising, advertise, sizeof(uint32_t) * N_ADVERTISE) != 0 || in ethtool_set_glinksettings() 992 … !memeqzero((uint8_t*) &u->link_modes.advertising + sizeof(uint32_t) * N_ADVERTISE, in ethtool_set_glinksettings() 993 … ETHTOOL_LINK_MODE_MASK_MAX_KERNEL_NBYTES - sizeof(uint32_t) * N_ADVERTISE); in ethtool_set_glinksettings() 994 memcpy(&u->link_modes.advertising, advertise, sizeof(uint32_t) * N_ADVERTISE); in ethtool_set_glinksettings() 995 memzero((uint8_t*) &u->link_modes.advertising + sizeof(uint32_t) * N_ADVERTISE, in ethtool_set_glinksettings() [all …]
|
D | ethtool-util.h | 11 #define N_ADVERTISE 3 macro 175 const uint32_t advertise[static N_ADVERTISE],
|
/systemd-251/src/udev/net/ |
D | link-config.h | 68 uint32_t advertise[N_ADVERTISE];
|