Home
last modified time | relevance | path

Searched refs:getaddrs (Results 1 – 3 of 3) sorted by relevance

/linux-2.4.37.9/net/sctp/
Dsocket.c3008 struct sctp_getaddrs getaddrs; in sctp_getsockopt_peer_addrs() local
3018 if (copy_from_user(&getaddrs, optval, sizeof(struct sctp_getaddrs))) in sctp_getsockopt_peer_addrs()
3021 if (getaddrs.addr_num <= 0) return -EINVAL; in sctp_getsockopt_peer_addrs()
3024 asoc = sctp_id2assoc(sk, getaddrs.assoc_id); in sctp_getsockopt_peer_addrs()
3028 to = (void *)getaddrs.addrs; in sctp_getsockopt_peer_addrs()
3039 if (cnt >= getaddrs.addr_num) break; in sctp_getsockopt_peer_addrs()
3041 getaddrs.addr_num = cnt; in sctp_getsockopt_peer_addrs()
3042 if (copy_to_user(optval, &getaddrs, sizeof(struct sctp_getaddrs))) in sctp_getsockopt_peer_addrs()
3163 struct sctp_getaddrs getaddrs; in sctp_getsockopt_local_addrs() local
3175 if (copy_from_user(&getaddrs, optval, sizeof(struct sctp_getaddrs))) in sctp_getsockopt_local_addrs()
[all …]
/linux-2.4.37.9/drivers/net/
Dsk_mca.c155 static void __init getaddrs(int slot, int junior, int *base, int *irq, in getaddrs() function
1107 getaddrs(slot, junior, &base, &irq, &medium); in skmca_probe()
Dibmlana.c160 static void getaddrs(int slot, int *base, int *memlen, int *iobase, in getaddrs() function
1067 getaddrs(slot, &base, &memlen, &iobase, &irq, &medium); in ibmlana_probe()