Subject: Re: ifconfig list scan
To: None <tech-net@netbsd.org>
From: Cherry G. Mathew <cherry.g.mathew@gmail.com>
List: tech-net
Date: 06/11/2007 20:51:12
------=_Part_123852_9216795.1181591472103
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

On 6/11/07, Cherry G. Mathew <cherry.g.mathew@gmail.com> wrote:
> On 6/11/07, Cherry G. Mathew <cherry.g.mathew@gmail.com> wrote:
> > Hi,
> >
> > I pulled in the code from FreeBSD.
> >

Hi,

I missed out a bit in the patch. Here's the complete set of patches to
make ifconfig <i/f> list scan work.

Cheers,

-- 
~Cherry

------=_Part_123852_9216795.1181591472103
Content-Type: application/octet-stream; name=ifconfig.diff
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="ifconfig.diff"

SW5kZXg6IGllZWU4MDIxMS5jCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KUkNTIGZpbGU6IC9jdnNyb290L3NyYy9zYmlu
L2lmY29uZmlnL2llZWU4MDIxMS5jLHYKcmV0cmlldmluZyByZXZpc2lvbiAxLjEwCmRpZmYgLXUg
LXIxLjEwIGllZWU4MDIxMS5jCi0tLSBpZWVlODAyMTEuYwk5IEphbiAyMDA3IDA5OjI1OjU2IC0w
MDAwCTEuMTAKKysrIGllZWU4MDIxMS5jCTExIEp1biAyMDA3IDE4OjIwOjI5IC0wMDAwCkBAIC01
NSw3ICs1NSwxOCBAQAogI2luY2x1ZGUgImV4dGVybi5oIgogI2luY2x1ZGUgImllZWU4MDIxMS5o
IgogCi1zdGF0aWMgdm9pZCBzZXQ4MDIxMShpbnQsIGludCwgaW50LCB1aW50OF90ICopOworc3Rh
dGljIHZvaWQgc2V0ODAyMTEoaW50LCBpbnQsIGludCwgdV9pbnQ4X3QgKik7CitzdGF0aWMgdV9p
bnQgaWVlZTgwMjExX21oejJpZWVlKHVfaW50LCB1X2ludCk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sKK30KKworc3RhdGljIHZvaWQKK3ByaW50aWUo
Y29uc3QgY2hhciogdGFnLCBjb25zdCB1aW50OF90ICppZSwgc2l6ZV90IGllbGVuLCBpbnQgbWF4
bGVuKQoreworCXByaW50ZigiJXMiLCB0YWcpOworCisJbWF4bGVuIC09IHN0cmxlbih0YWcpKzI7
CisJaWYgKDIqaWVsZW4gPiBtYXhsZW4pCisJCW1heGxlbi0tOworCXByaW50ZigiPCIpOworCWZv
ciAoOyBpZWxlbiA+IDA7IGllKyssIGllbGVuLS0pIHsKKwkJaWYgKG1heGxlbi0tIDw9IDApCisJ
CQlicmVhazsKKwkJcHJpbnRmKCIlMDJ4IiwgKmllKTsKKwl9CisJaWYgKGllbGVuICE9IDApCisJ
CXByaW50ZigiLSIpOworCXByaW50ZigiPiIpOworfQorCisvKgorICogQ29weSB0aGUgc3NpZCBz
dHJpbmcgY29udGVudHMgaW50byBidWYsIHRydW5jYXRpbmcgdG8gZml0LiAgSWYgdGhlCisgKiBz
c2lkIGlzIGVudGlyZWx5IHByaW50YWJsZSB0aGVuIGp1c3QgY29weSBpbnRhY3QuICBPdGhlcndp
c2UgY29udmVydAorICogdG8gaGV4YWRlY2ltYWwuICBJZiB0aGUgcmVzdWx0IGlzIHRydW5jYXRl
ZCB0aGVuIHJlcGxhY2UgdGhlIGxhc3QKKyAqIHRocmVlIGNoYXJhY3RlcnMgd2l0aCAiLi4uIi4K
KyAqLworc3RhdGljIGludAorY29weV9lc3NpZChjaGFyIGJ1ZltdLCBzaXplX3QgYnVmc2l6ZSwg
Y29uc3QgdV9pbnQ4X3QgKmVzc2lkLCBzaXplX3QgZXNzaWRfbGVuKQoreworCWNvbnN0IHVfaW50
OF90ICpwOyAKKwlzaXplX3QgbWF4bGVuOworCWludCBpOworCisJaWYgKGVzc2lkX2xlbiA+IGJ1
ZnNpemUpCisJCW1heGxlbiA9IGJ1ZnNpemU7CisJZWxzZQorCQltYXhsZW4gPSBlc3NpZF9sZW47
CisJLyogZGV0Z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3QgfSwKIAl7ICJwcmVmaXhsZW4iLAlORVhUQVJHLAkwLAkJc2V0
aWZwcmVmaXhsZW59LAogCXsgInByZWZlcmVuY2UiLAlORVhUQVJHLAkwLAkJc2V0aWZwcmVmZXJl
bmNlfSwKKwl7ICJsaXN0IiwJTkVYVEFSRywJMCwJCXNldGlmbGlzdH0sCiAjaWZuZGVmIElORVRf
T05MWQogCS8qIENBUlAgKi8KIAl7ICJhZHZiYXNlIiwJTkVYVEFSRywJMCwJCXNldGNhcnBfYWR2
YmFzZSB9LApAQCAtMTU4NSw2ICsxNTg2LDcgQEAKIAkJIlx0XHRbIGFsaWFzIHwgLWFsaWFzIF0g
XVxuIgogCQkiXHRbIHVwIF0gWyBkb3duIF0gWyBtZXRyaWMgbiBdIFsgbXR1IG4gXVxuIgogCQki
XHRbIG53aWQgbmV0d29ya19pZCBdIFsgbndrZXkgbmV0d29ya19rZXkgfCAtbndrZXkgXVxuIgor
CQkiXHRbIGxpc3Qgc2NhbiBdXG4iCiAJCSJcdFsgcG93ZXJzYXZlIHwgLXBvd2Vyc2F2ZSBdIFsg
cG93ZXJzYXZlc2xlZXAgZHVyYXRpb24gXVxuIgogCQkiXHRbIGhpZGVzc2lkIHwgLWhpZGVzc2lk
IF0gWyBhcGJyaWRnZSB8IC1hcGJyaWRnZSBdXG4iCiAJCSJcdFsgWyBhZiBdIHR1bm5lbCBzcmNf
YWRkciBkZXN0X2FkZHIgXSBbIGRlbGV0ZXR1bm5lbCBdXG4iCg==
------=_Part_123852_9216795.1181591472103
Content-Type: application/octet-stream; name=ieee80211.h.diff
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="ieee80211.h.diff"

SW5kZXg6IF9pZWVlODAyMTEuaAo9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09ClJDUyBmaWxlOiAvY3Zzcm9vdC9zcmMvc3lz
L25ldDgwMjExL19pZWVlODAyMTEuaCx2CnJldH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