05-16-2011
You realize that any system call can cause this context switch? That a system call is in fact a context switch? Running a system call stops the process until the system call finishes! What you're looking for doesn't exist.
Running strace on ifconfig in linux, I see it using ioctl with SIOCSIFADDR, SIOCGIFFLAGS, and SIOCSIFNETMASK.
10 More Discussions You Might Find Interesting
1. Programming
:(
Hi
I am trying to get Mac address of of my Sun server from my C program running on the host machine.
Any suggestions . (1 Reply)
Discussion started by: ss_hpov
1 Replies
2. UNIX for Dummies Questions & Answers
Hi
Can some one help me How do find out Mac address in Tru64 Unix
Thank you (1 Reply)
Discussion started by: Syed_45
1 Replies
3. IP Networking
Hi sir,
i want to make such programe which takes MAC(Ethernet) address of any host & give me its IP address.......
but i'm nt getting that how i can pass the MAC address to Frame........
Please give me an idea for making such program...
Thanks & regards
Krishna (3 Replies)
Discussion started by: krishnacins
3 Replies
4. Solaris
Hi,
I've got a Sun Solaris machine with host ID (840f8e57) and MAC address (0:14:4f:f:8e:57), how do I:
1. Write the MAC address in standard (IEEE 802) format, i.e. xx-xx-xx-xx-xx-xx? Do I need to add 0's before or after the 'f', i.e. 00-14-4f-0f-8e-57 or 00-14-4f-f0-8e-57?
2. What is... (4 Replies)
Discussion started by: TheBlueSky
4 Replies
5. Solaris
I have following message in my messages file on solaris 10
WARNING: e1000g3712000:3 has duplicate address 010.022.196.011 (in use by 00:50:56:85:25:ef); disabled
Now is there any way i can find which server has 00:50:56:85:25:ef mac address either IP or Hostname ? (6 Replies)
Discussion started by: fugitive
6 Replies
6. Cybersecurity
There is a question in the SCO section asking for information on how to change the MAC address of a NIC. Is there a valid reason for wanting to change the MAC address? (1 Reply)
Discussion started by: jgt
1 Replies
7. SCO
hi every one please help
i want to change mac address in sco unix 5.0.6
how can i do this (3 Replies)
Discussion started by: kaydream
3 Replies
8. IP Networking
Hi there
I lost connectivity to one of our remote systems and when I checked the messages log I found the following:
Aug 10 23:42:34 host xntpd: time reset (step) 1.681729 s
Aug 16 13:20:51 host ip: WARNING: node "mac address" is using our IP address x.x.x.x on aggr1
Aug 16 13:20:51 host... (9 Replies)
Discussion started by: notreallyhere
9 Replies
9. IP Networking
ubuntu / xubuntu 13.10 and 14.04 (this issue should exist in debian as well)
I use wifi to connect to internet. I would like to change the wifi card mac address before connecting. Let's call the original mac address, macA, and the new mac address, macB.
I do the following:
ifconfig wlan0... (2 Replies)
Discussion started by: arpagon
2 Replies
10. IP Networking
four interfaces with ifconfig
all interfaces have the same mac. If is not set for unique.
but it still works.
what difference does it make to have all macs the same or different? (4 Replies)
Discussion started by: rrodgers
4 Replies
LEARN ABOUT DEBIAN
if_edsc
EDSC(4) BSD Kernel Interfaces Manual EDSC(4)
NAME
edsc -- Ethernet discard network interface
SYNOPSIS
device edsc
DESCRIPTION
The edsc interface is a software discard mechanism which may be used for performance analysis and software testing. It imitates an Ethernet
device, which allows for its use in conjunction with such drivers as if_bridge(4) and vlan(4).
As with other network interfaces, an edsc interface must have network addresses assigned for each address family with which it is to be used.
These addresses may be set or changed with the SIOCSIFADDR ioctl(2) or ifconfig(8) utility.
Each edsc interface is created at runtime using interface cloning. This is most easily done with the ifconfig(8) create command or using the
cloned_interfaces variable in rc.conf(5).
SEE ALSO
ioctl(2), arp(4), if_bridge(4), inet(4), intro(4), vlan(4), rc.conf(5), arp(8), ifconfig(8)
HISTORY
The edsc device was derived from the disc(4) device and first appeared in FreeBSD 6.3. This manpage was adapted from disc(4).
CAVEATS
Since outgoing packets are just discarded by edsc, ARP requests stay unreplied. Consequently, an IP packet cannot be sent via edsc until a
static arp(4) entry is created for its next hop using arp(8).
Initially an edsc interface has a zero link level address. It can be changed with ifconfig(8) lladdr if needed.
BSD
March 25, 2007 BSD