| |

VerySource

 Forgot password?
 Register
Search
View: 2390|Reply: 5

struct ifreq

[Copy link]

0

Threads

1

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2020-9-2 23:45:01
| Show all posts
The ifreq structure is defined in /usr/include/net/if.h, which is used to configure the ip address, activate the interface, configure the MTU and other interface information.
It contains the name and specific content of an interface-(it is a community, which may be an IP address, broadcast address, subnet mask, MAC number, MTU or other content).
ifreq is contained in the ifconf structure. The ifconf structure is usually used to store all interface information.

If you want to learn more, I recommend the following URL, which explains in great detail:
http://tech.sunplusedu.com/space/post-4064.aspx
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

Contact us|Archive|Mobile|CopyRight © 2008-2023|verysource.com ( 京ICP备17048824号-1 )

Quick Reply To Top Return to the list