if_name is not a member of ifreq structure.

The structure contains 128 bytes which has the following members
Code: C
union {
   sockaddr   ifru_addr
   sockaddr   ifru_dstaddr
   sockaddr   ifru_broadaddr
   short   ifru_flags
   int   ifru_metric
   caddr_t   ifru_data
}