General Page
The "ifconfig -a" displays the flags in hexadecimal (e.g. "1e084863,80480") and in alphabetical (e.g. UP, BROADCAST, NOTRAILERS etc.) format for each interface. This document describes how the flag in hexadecimal is calculated.
Case 1:
The flag in red box "1e084863" is calculated using bitwise OR operation of following flags.
#define IFF_UP 0x1 /* interface is up */
#define IFF_BROADCAST 0x2 /* broadcast address valid */
#define IFF_NOTRAILERS 0x20 /* avoid use of trailers */
#define IFF_RUNNING 0x40 /* resources allocated */
#define IFF_SIMPLEX 0x800 /* can't hear own transmissions */
#define IFF_D2 0x4000 /* Device health */
#define IFF_MULTICAST 0x80000 /* supports multicast */
#define IFF_GROUP_ROUTING 0x2000000 /* supports group routing */
#define IFF_64BIT 0x4000000 /* 64-bit safe */
#define IFF_BPF 0x8000000 /* bpf is supported for this IF */
#define IFF_CHECKSUM_OFFLOAD 0x10000000 /* Admin requests checksum offload.*/
The flag in blue box "80480" is calculated using bitwise OR operation of following flags.
#define IFO_PKTCHAIN 0x00000080 /* packet chain support */
#define IFO_VIRTUAL_ETHERNET 0x00000400 /* Underlying adapter is Virtual Ethernet */
#define IFO_LARGESEND_PLATFORM 0x00080000 /* platform largesend support */
The flag in red box "1e084863" is calculated using bitwise OR operation of following flags.
#define IFF_UP 0x1 /* interface is up */
#define IFF_BROADCAST 0x2 /* broadcast address valid */
#define IFF_NOTRAILERS 0x20 /* avoid use of trailers */
#define IFF_RUNNING 0x40 /* resources allocated */
#define IFF_SIMPLEX 0x800 /* can't hear own transmissions */
#define IFF_D2 0x4000 /* Device health */
#define IFF_MULTICAST 0x80000 /* supports multicast */
#define IFF_GROUP_ROUTING 0x2000000 /* supports group routing */
#define IFF_64BIT 0x4000000 /* 64-bit safe */
#define IFF_BPF 0x8000000 /* bpf is supported for this IF */
#define IFF_CHECKSUM_OFFLOAD 0x10000000 /* Admin requests checksum offload.*/
The flag in blue box "814c0" is calculated using bitwise OR operation of following flags.
#define IFO_PKTCHAIN 0x00000080 /* packet chain support */
#define IFO_VIRTUAL_ETHERNET 0x00000400 /* Underlying adapter is Virtual Ethernet */
#define IFO_LSO_IPV6 0x00001000 /* largesend support for ipv6 */
#define IFO_LARGESEND_PLATFORM 0x00080000 /* platform largesend support */
Case 2:
The flag in red box "1e084863" is calculated using bitwise OR operation of following flags.
#define IFF_UP 0x1 /* interface is up */
#define IFF_BROADCAST 0x2 /* broadcast address valid */
#define IFF_NOTRAILERS 0x20 /* avoid use of trailers */
#define IFF_RUNNING 0x40 /* resources allocated */
#define IFF_SIMPLEX 0x800 /* can't hear own transmissions */
#define IFF_D2 0x4000 /* Device health */
#define IFF_MULTICAST 0x80000 /* supports multicast */
#define IFF_GROUP_ROUTING 0x2000000 /* supports group routing */
#define IFF_64BIT 0x4000000 /* 64-bit safe */
#define IFF_BPF 0x8000000 /* bpf is supported for this IF */
#define IFF_CHECKSUM_OFFLOAD 0x10000000 /* Admin requests checksum offload.*/
The flag in blue box "18c0" is calculated using bitwise OR operation of following flags.
#define IFO_CSO_IPV6 0x00000800 /* checksum offload support for ipv6 */
![image-20190117141053-3](/support/pages/system/files/inline-images/image-20190117141053-3.png)
The flag in red box "1e084863" is calculated using bitwise OR operation of following flags.
#define IFF_UP 0x1 /* interface is up */
#define IFF_BROADCAST 0x2 /* broadcast address valid */
#define IFF_NOTRAILERS 0x20 /* avoid use of trailers */
#define IFF_RUNNING 0x40 /* resources allocated */
#define IFF_SIMPLEX 0x800 /* can't hear own transmissions */
#define IFF_D2 0x4000 /* Device health */
#define IFF_MULTICAST 0x80000 /* supports multicast */
#define IFF_GROUP_ROUTING 0x2000000 /* supports group routing */
#define IFF_64BIT 0x4000000 /* 64-bit safe */
#define IFF_BPF 0x8000000 /* bpf is supported for this IF */
#define IFF_CHECKSUM_OFFLOAD 0x10000000 /* Admin requests checksum offload.*/
The flag in blue box "18c0" is calculated using bitwise OR operation of following flags.
#define IFO_PKTCHAIN 0x00000080 /* packet chain support */
#define IFO_CSO_IPV6 0x00000800 /* checksum offload support for ipv6 */
#define IFO_LSO_IPV6 0x00001000 /* largesend support for ipv6 */
Case 3:
The flag in red box "1e084863" is calculated using bitwise OR operation of following flags.
#define IFF_UP 0x1 /* interface is up */
#define IFF_BROADCAST 0x2 /* broadcast address valid */
#define IFF_NOTRAILERS 0x20 /* avoid use of trailers */
#define IFF_RUNNING 0x40 /* resources allocated */
#define IFF_SIMPLEX 0x800 /* can't hear own transmissions */
#define IFF_D2 0x4000 /* Device health */
#define IFF_MULTICAST 0x80000 /* supports multicast */
#define IFF_GROUP_ROUTING 0x2000000 /* supports group routing */
#define IFF_64BIT 0x4000000 /* 64-bit safe */
#define IFF_BPF 0x8000000 /* bpf is supported for this IF */
#define IFF_CHECKSUM_OFFLOAD 0x10000000 /* Admin requests checksum offload.*/
The flag in blue box "19c0" is calculated using bitwise OR operation of following flags.
#define IFO_PKTCHAIN 0x00000080 /* packet chain support */
#define IFO_CSO_IPV6 0x00000800 /* checksum offload support for ipv6 */
Where to find the flags:
Conclusions:
Team: AIX Support
Operating System: AIX and VIOS
Hardware: Power
Feedback: aix_feedback@wwpdl.vnet.ibm.com
Was this topic helpful?
Document Information
Modified date:
04 March 2019
UID
ibm10795239