Home
last modified time | relevance | path

Searched refs:sock_proto (Results 1 – 6 of 6) sorted by relevance

/external/strace/
Dsocketutils.c462 enum sock_proto
469 return (enum sock_proto) i; in get_proto_by_name()
476 const enum sock_proto proto) in get_sockaddr_by_inode_uncached()
507 const enum sock_proto proto) in print_sockaddr_by_inode_uncached()
Ddefs.h342 enum sock_proto { enum
351 extern enum sock_proto get_proto_by_name(const char *);
504 extern enum sock_proto getfdproto(struct tcb *, int);
Dutil.c415 enum sock_proto
DChangeLog13398 Introduce a new enum type sock_proto and use it instead of strings for socket
13401 * defs.h (sock_proto): New enum.
13405 to sock_proto.
13407 * util.c (getfdproto): Use it. Change return type to sock_proto.
/external/python/cpython2/Modules/
Dsocketmodule.h129 int sock_proto; /* Protocol type, usually 0 */ member
Dsocketmodule.c815 s->sock_proto = proto; in init_sockobject()
1417 switch (s->sock_proto) { in getsockaddrarg()
1668 switch(s->sock_proto) in getsockaddrlen()
1763 s->sock_proto); in sock_accept()
1770 addrlen, s->sock_proto); in sock_accept()
2246 s->sock_proto);
2278 s->sock_proto);
2307 s->sock_proto);
2679 addrlen, s->sock_proto)))
3131 {"proto", T_INT, offsetof(PySocketSockObject, sock_proto), READONLY, "the socket protocol"},
[all …]