Home
last modified time | relevance | path

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

/external/toybox/toys/net/
Difconfig.c370 #define IFREQ_OFFSZ(x) -(int)((offsetof(struct ifreq, x)<<16) + sizeof(ifre.x)) macro
406 {"mtu", IFREQ_OFFSZ(ifr_mtu), SIOCSIFMTU}, in ifconfig_main()
407 {"keepalive", IFREQ_OFFSZ(ifr_data), SIOCDEVPRIVATE}, // SIOCSKEEPALIVE in ifconfig_main()
408 {"outfill", IFREQ_OFFSZ(ifr_data), SIOCDEVPRIVATE+2}, // SIOCSOUTFILL in ifconfig_main()
409 {"metric", IFREQ_OFFSZ(ifr_metric), SIOCSIFMETRIC}, in ifconfig_main()
410 {"txqueuelen", IFREQ_OFFSZ(ifr_qlen), SIOCSIFTXQLEN}, in ifconfig_main()
411 {"mem_start", IFREQ_OFFSZ(ifr_map.mem_start), SIOCSIFMAP}, in ifconfig_main()
412 {"io_addr", IFREQ_OFFSZ(ifr_map.base_addr), SIOCSIFMAP}, in ifconfig_main()
413 {"irq", IFREQ_OFFSZ(ifr_map.irq), SIOCSIFMAP}, in ifconfig_main()