/
nerfur
/
openbsd-src
ОбзорДокументацияВойти
/
nerfur
/
openbsd-src
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
ДокументацияПоддержка
Политика конфиденциальностиПользовательское соглашениеПолитика использования «cookies»Согласие субъекта персональных данных
2026 ©
openbsd-src/
.../libc/net/
..
Makefile.inc

drop htonl(), htons(), ntohl(), ntohs() MD functions from libc

2 года назад
base64.c

Revert accidental change.

5 лет назад
ether_aton.3

.Li -> .Vt where appropriate; from josiah frentsos, tweaked by schwarze

4 года назад
ethers.c

I am retiring my old email address; replace it with my OpenBSD one.

8 лет назад
freeaddrinfo.c

Delete casts to off_t and size_t that are implied by assignments or prototypes. Ditto for some of the char* and void* casts too.

10 лет назад
gai_strerror.3

The mdoc(7) .Ft macro does not need quoting of its arguments, but about 10% of our manual pages using this macro employed useless quoting anyway. Remove these quotes such that they do not incite fear, uncertainty, and doubt in developers who happen to look at these pages. jmc@ and tb@ agree with the direction.

год назад
gai_strerror.c

Finish wrapping <netdb.h> so that calls go direct and the symbols are all weak

11 лет назад
getaddrinfo.3

.Li -> .Vt where appropriate; from josiah frentsos, tweaked by schwarze

4 года назад
gethostbyname.3

mop up resolver.3 rename; ok deraadt

7 лет назад
getifaddrs.3

man pages: add missing word, The foo() ... -> The foo() function ...

4 года назад
getifaddrs.c

A few sys/param.h annotations lacked ALIGNBYTES

5 лет назад
getnameinfo.3

.Li -> .Vt where appropriate; from josiah frentsos, tweaked by schwarze

4 года назад
getnetent.3

mop up resolver.3 rename; ok deraadt

7 лет назад
getnetent.c

To allow us to get rid of /etc/networks, make setnetent(3), getnetent(3), and endnetent(3) do nothing, just like sethostent(3), gethostent(3), and endhostent(3) years ago. OK deraadt@ guenther@

8 лет назад
getpeereid.3

.Li -> .Vt where appropriate; from josiah frentsos, tweaked by schwarze

4 года назад
getpeereid.c

getpeereid() can now be a library routine using getsockopt() with SOL_SOCKET and SO_PEERCRED, only issue being that it cannot return EFAULT for a page fault. The kernel code will soon be put into compat, and then in 10 years or so tedu will delete it. ok guenther millert

16 лет назад
getproto.c

Finish wrapping <netdb.h> so that calls go direct and the symbols are all weak

11 лет назад
getprotoent.3

Use the fancy .In macro for includes. From Jan Klemkow. ok jmc schwarze

13 лет назад
getprotoent.c

Finish wrapping <netdb.h> so that calls go direct and the symbols are all weak

11 лет назад
getprotoname.c

Finish wrapping <netdb.h> so that calls go direct and the symbols are all weak

11 лет назад
getrrsetbyname.3

.Li -> .Vt where appropriate; from josiah frentsos, tweaked by schwarze

4 года назад
getservbyname.c

Finish wrapping <netdb.h> so that calls go direct and the symbols are all weak

11 лет назад
getservbyport.c

Finish wrapping <netdb.h> so that calls go direct and the symbols are all weak

11 лет назад
getservent.3

Use the fancy .In macro for includes. From Jan Klemkow. ok jmc schwarze

13 лет назад
getservent.c

Finish wrapping <netdb.h> so that calls go direct and the symbols are all weak

11 лет назад
herror.c

Finish wrapping <netdb.h> so that calls go direct and the symbols are all weak

11 лет назад
htobe64.3

A dozen interfaces in <endian.h> were standardized in POSIX-2024 as expected

2 года назад
htonl.3

.Li -> .Vt where appropriate; from josiah frentsos, tweaked by schwarze

4 года назад
htonl.c

drop htonl(), htons(), ntohl(), ntohs() MD functions from libc

2 года назад
htons.c

drop htonl(), htons(), ntohl(), ntohs() MD functions from libc

2 года назад
if_indextoname.3

The mdoc(7) .Ft macro does not need quoting of its arguments, but about 10% of our manual pages using this macro employed useless quoting anyway. Remove these quotes such that they do not incite fear, uncertainty, and doubt in developers who happen to look at these pages. jmc@ and tb@ agree with the direction.

год назад
if_indextoname.c

Fix typo in RFC number.

8 лет назад
if_nameindex.c

Eliminate some gcc warnings about 'unused variables', mostly by adding appropriate #ifdef's around declarations.

10 лет назад
if_nametoindex.c

Switch if_nameindex(3) to use the new NET_RT_IFNAMES sysctl to get the list of interface names. At the same time switch if_nametoindex(3) and if_indextoname(3) to use if_nameindex(3) instead of getifaddrs(3). if_nameindex(3) exposes much less then getifaddrs(3) and is allowed by pledge(2). With and OK deraadt@

11 лет назад
inet6_opt_init.3

The mdoc(7) .Ft macro does not need quoting of its arguments, but about 10% of our manual pages using this macro employed useless quoting anyway. Remove these quotes such that they do not incite fear, uncertainty, and doubt in developers who happen to look at these pages. jmc@ and tb@ agree with the direction.

год назад
inet6_rth_space.3

The mdoc(7) .Ft macro does not need quoting of its arguments, but about 10% of our manual pages using this macro employed useless quoting anyway. Remove these quotes such that they do not incite fear, uncertainty, and doubt in developers who happen to look at these pages. jmc@ and tb@ agree with the direction.

год назад
inet_addr.3

POSIX defines inet_ntoa, not inet_aton.

2 года назад
inet_addr.c

Wrap <arpa/inet.h> and <arpa/nameser.h> so that calls go direct and the symbols without underbar prefix are all weak

11 лет назад
inet_lnaof.3

mop up for inet_net rename; ok deraadt

7 лет назад
inet_lnaof.c

Move to the <limits.h> universe. review by millert, binary checking process with doug, concept with guenther

12 лет назад
inet_makeaddr.c

Move to the <limits.h> universe. review by millert, binary checking process with doug, concept with guenther

12 лет назад
inet_net_ntop.3

.Li -> .Vt where appropriate; from josiah frentsos, tweaked by schwarze

4 года назад
inet_net_ntop.c

snprintf/vsnprintf return < 0 on error, rather than -1.

7 лет назад
inet_net_pton.c

spelling fixes; from paul tagliamonte any changes not taken noted on tech, but chiefly here i did not take the cancelation - cancellation changes;

4 года назад
inet_neta.c

zap rcsid. split functions off res_debug.c so that getnetnamadr.c does not pull it all when it's used.

21 год назад
inet_netof.c

Move to the <limits.h> universe. review by millert, binary checking process with doug, concept with guenther

12 лет назад
inet_network.c

Cast ctype function arguments to unsigned char.

11 лет назад
inet_ntoa.c

zap rcsid. split functions off res_debug.c so that getnetnamadr.c does not pull it all when it's used.

21 год назад
inet_ntop.3

.Li -> .Vt where appropriate; from josiah frentsos, tweaked by schwarze

4 года назад
inet_ntop.c

Delete casts to off_t and size_t that are implied by assignments or prototypes. Ditto for some of the char* and void* casts too.

10 лет назад
inet_pton.c

wild white space

2 года назад
ip6opt.c

delete wasteful ;; ok tedu

7 лет назад
link_ntoa.3

tweak Nd after previous; ok mpi

11 лет назад
linkaddr.c

Fix regressions introduce in the fix for CVE-2016-6559. From FreeBSD (glebius)

10 лет назад
ntohl.c

drop htonl(), htons(), ntohl(), ntohs() MD functions from libc

2 года назад
ntohs.c

drop htonl(), htons(), ntohl(), ntohs() MD functions from libc

2 года назад
rcmd.3

rcmd(3) and rcmdsh(3) use getaddrinfo(3) not gethostbyname(3).

10 лет назад
rcmd.c

Wrap <unistd.h> so that internal calls go direct and they're all weak symbols Delete unused 'fd' argument from internal function oldttyname()

11 лет назад
rcmdsh.3

rcmd(3) and rcmdsh(3) use getaddrinfo(3) not gethostbyname(3).

10 лет назад
rcmdsh.c

When system calls indicate an error they return -1, not some arbitrary value < 0. errno is only updated in this case. Change all (most?) callers of syscalls to follow this better, and let's see if this strictness helps us in the future.

7 лет назад
recv.c

Last arg is also a pointer, so pass NULL instead of 0; ok deraadt@

3 года назад
res_comp.c

Fix a number of out of bound reads in DNS response parsing. Originally from djm@. OK deraadt@ florian@ bluhm@

3 года назад
res_data.c

Move to the <limits.h> universe. review by millert, binary checking process with doug, concept with guenther

12 лет назад
res_debug_syms.c

Wrap <resolv.h> so that internal calls go direct

11 лет назад
res_init.3

Describe what RES_USE_DNSSEC does and how it's affected by trust-ad

5 лет назад
res_random.c

typo in comment; Effectivly -> Effectively; ok gilles@

2 года назад
rresvport.c

When system calls indicate an error they return -1, not some arbitrary value < 0. errno is only updated in this case. Change all (most?) callers of syscalls to follow this better, and let's see if this strictness helps us in the future.

7 лет назад
rthdr.c

spelling fixes; from paul tagliamonte any changes not taken noted on tech, but chiefly here i did not take the cancelation - cancellation changes;

4 года назад
ruserok.c

spelling fixes; from paul tagliamonte any changes not taken noted on tech, but chiefly here i did not take the cancelation - cancellation changes;

4 года назад
send.c

recv() and send() aren't overriden by libpthread (vs recvfrom() and sendto()!) so wrap them to make internal calls go direct

11 лет назад
sockatmark.3

sockatmark(3), recv(2), getsockopt(2), and connect(2) return specifically -1 to mark failure, not arbitrary values < 0. I believe manual pages should follow the described contract precisely and accurately.

7 лет назад
sockatmark.c

Add sockatmark()

12 лет назад
vars6.c

Make the in6addr constant declarations and definitions consistent in kernel and user land. OK florian@ mpi@

12 лет назад