Home
last modified time | relevance | path

Searched refs:balen (Results 1 – 1 of 1) sorted by relevance

/external/iputils/
Darping.c932 static int set_device_broadcast_ifaddrs_one(struct device *device, unsigned char *ba, size_t balen,… in set_device_broadcast_ifaddrs_one() argument
947 if (sll->sll_halen != balen) { in set_device_broadcast_ifaddrs_one()
961 int set_device_broadcast_sysfs(struct device *device, unsigned char *ba, size_t balen) in set_device_broadcast_sysfs() argument
970 if (v->value[SYSFS_DEVATTR_ADDR_LEN].ulong != balen) in set_device_broadcast_sysfs()
972 memcpy(ba, v->value[SYSFS_DEVATTR_BROADCAST].ptr, balen); in set_device_broadcast_sysfs()
979 static int set_device_broadcast_fallback(struct device *device, unsigned char *ba, size_t balen) in set_device_broadcast_fallback() argument
983 memset(ba, -1, balen); in set_device_broadcast_fallback()
987 static void set_device_broadcast(struct device *dev, unsigned char *ba, size_t balen) in set_device_broadcast() argument
989 if (!set_device_broadcast_ifaddrs_one(dev, ba, balen, 0)) in set_device_broadcast()
991 if (!set_device_broadcast_sysfs(dev, ba, balen)) in set_device_broadcast()
[all …]