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

Retire PR_MPSOCKET flag.

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

Remove unused parameter dst from art_get().

3 года назад
art.h

Remove unused parameter dst from art_get().

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

Move solock() down to sosetopt(). A part of standalone sblock() work. This movement required because buffers related SO_SND* and SO_RCV* socket options should be protected with sblock(). However, standalone sblock() has different lock order with solock() and `so_snd' and `so_rcv' buffers. At least sblock() for `so_snd' buffer will always be taken before solock() in the sosend() path.

3 года назад
bfd.h

use unsigned variables for things that we use as unsigned

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

Carefully prune sysctl nodes with #ifndef SMALL_KERNEL recover space lost to other bloaty software. ok bluhm

год назад
bpf.h

add bpfxattach for addding extra bpf interfaces to net interfaces

год назад
bpf_filter.c

add a BPF_RND load location that provides a random value.

6 лет назад
bpfdesc.h

use a tailq for the global list of bpf_if structs.

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

we don't have to cast to caddr_t when calling m_copydata anymore.

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

spelling

5 лет назад
bsd-comp.c

ansi

5 лет назад
ethertypes.h

88F7 is used by IEEE 1588 Precision Time Protocol

год назад
fq_codel.c

use nsecuptime instead of using nanouptime and doing a bunch of maths.

2 года назад
fq_codel.h

add $OpenBSD$ tags

6 лет назад
frame.h

add an AF_FRAME socket domain and an IFT_ETHER protocol family under it.

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

move hfsc to using nanoseconds for keeping times.

2 года назад
hfsc.h

Provide pluggable queueing interface for pf

9 лет назад
if.c

run ifq_barrier against all ifqs in if_detach, not just if_snd.

год назад
if.h

add net_sn_count() so things can ask how many softnet threads are running

год назад
if_aggr.c

Cache route per softnet thread with netstack.

год назад
if_arp.h

remove struct arpreq from net/if_arp.h

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

Cache route per softnet thread with netstack.

год назад
if_bpe.h

Cache route per softnet thread with netstack.

год назад
if_bridge.c

Unlock IPCTL_MTUDISC case of ip_sysctl().

год назад
if_bridge.h

Retire switch(4) it never really was production ready and the OpenFlow API implemented is a deadend. OK akoshibe@ yasuoka@ deraadt@ kn@ patrick@ sthen@

5 лет назад
if_dl.h

Use constant sockaddr in route lookup.

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

Use struct refcnt for interface address reference counting. There was a crash due to use after free of the ifa although it is ref counted. As ifa_refcnt was a simple integer increment, there may be a path where multiple CPUs access it concurrently. So change to struct refcnt which is MP safe and provides dt(4) leak debugging. Link level address for IPsec enc(4) and various MPLS interfaces is special. There ifa is part of struct sc. Use refcount anyway and add a panic to detect use after free. bug report stsp@; OK mvs@

4 года назад
if_enc.h

mention that the "flags" field in the enchdr is uses m_flags values (see mbuf.h)

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

etherbridge_map was way too clever, so simplify it.

5 лет назад
if_etherbridge.h

remove unused inline function; ok dlg@

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

Cache route per softnet thread with netstack.

год назад
if_etherip.h

Cache route per softnet thread with netstack.

год назад
if_ethersubr.c

Extract ether type after completing length check.

год назад
if_gif.c

Cache route per softnet thread with netstack.

год назад
if_gif.h

Cache route per softnet thread with netstack.

год назад
if_gre.c

add support for DLT_RAW on erspan(4) interfaces.

год назад
if_gre.h

Cache route per softnet thread with netstack.

год назад
if_llc.h

first or second coming, commie or not commie, one m in coming is sufficient ok claudio

14 лет назад
if_loop.c

attach multiple interface queues

год назад
if_media.c

remove unused ifmedia_list_add() ok miod@

год назад
if_media.h

remove unused ifmedia_list_add() ok miod@

год назад
if_mpe.c

Cache route per softnet thread with netstack.

год назад
if_mpip.c

Cache route per softnet thread with netstack.

год назад
if_mpw.c

Cache route per softnet thread with netstack.

год назад
if_pair.c

Send without kernel lock

6 лет назад
if_pflog.c

pflog(4) logs packet dropped by default rule with block.

3 года назад
if_pflog.h

Link pflog(4) instances to `pflog_ifs' list instead of allocating `pflogifs' array. This was done to prevent panics caused by internal malloc(9) limit.

6 лет назад
if_pflow.c

replace task_del+taskq_barrier with taskq_del_barrier.

год назад
if_pflow.h

Rework pflowioctl() lock dances.

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

Cache route per softnet thread with netstack.

год назад
if_pfsync.h

Cache route per softnet thread with netstack.

год назад
if_ppp.c

Cache route per softnet thread with netstack.

год назад
if_ppp.h

spelling ok jmc@ reads ok tb@

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

let's packets being sent out pppoe interfaces bypass queues and go straight onto the underlying interface.

год назад
if_pppoe.h

Cache route per softnet thread with netstack.

год назад
if_pppvar.h

Enable IPv6 AF for ppp(4)

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

Cache route per softnet thread with netstack.

год назад
if_rport.c

Cache route per softnet thread with netstack.

год назад
if_sec.c

Pass struct netstack to sec_input().

год назад
if_sec.h

Pass struct netstack to sec_input().

год назад
if_sppp.h

let pppoe data packets go through if_vinput instead of the pppoeinq.

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

Cache route per softnet thread with netstack.

год назад
if_tpmr.c

Cache route per softnet thread with netstack.

год назад
if_trunk.c

Cache route per softnet thread with netstack.

год назад
if_trunk.h

Cache route per softnet thread with netstack.

год назад
if_tun.c

Cache route per softnet thread with netstack.

год назад
if_tun.h

provide network offloads between the kernel and userland again

2 года назад
if_types.h

spelling ok jmc@ reads ok tb@

5 лет назад
if_var.h

Cache socket lock during TCP input.

год назад
if_veb.c

Cache route per softnet thread with netstack.

год назад
if_vether.c

Add missing #if's to fix build without bpf(4).

6 лет назад
if_vlan.c

Cache route per softnet thread with netstack.

год назад
if_vlan_var.h

Cache route per softnet thread with netstack.

год назад
if_vxlan.c

Shared net lock and socket lock are sufficient for vxlan.

год назад
if_wg.c

typo: property -> properly

год назад
if_wg.h

remove unneeded limits.h and errno.h includes

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

Carefully prune sysctl nodes with #ifndef SMALL_KERNEL recover space lost to other bloaty software. ok bluhm

год назад
ifq.h

let drivers provide an ifiq specific bpf interface if they want.

год назад
lldp.h

common definitions for lldp protocol bits.

год назад
netisr.h

big update to pfsync to try and clean up locking in particular.

3 года назад
ofp.h

fix double words in comments feedback and ok jmc@ miod, ok millert@

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

Unlock IPCTL_MTUDISC case of ip_sysctl().

год назад
pf_if.c

Introduce M_PF type for pf(4) related memory allocations. Currently used M_TEMP and M_IFADDR types are unreasonable for that purpose. This dedicated statistics simplify the future pf(4) unlocking work by decreasing search area of possible memory leaks.

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

The current way to adjust pf(4) limits in pf.conf(5) is inconvenient. For example when ruleset uses more than 512 anchors (the current default limit) one would typically add 'set limit anchor 1024' to adjust the limit so the 'pf.conf(5)' gets processed. Unfortunately it does not work because limit gets changed with DIOCXCOMMIT which is too late. The pf.conf(5) fails to load the anchors to transaction, because the old lower limit is still in place. To fix it we must set the limit as soon as we parse 'set limit ...' option.

год назад
pf_lb.c

nat-to may fail to insert state due to conflict on chosen source port number. This is typically indicated by 'wire key attach failed on...' message when pf(4) debugging is enabled. The problem is caused by glitch in pf_get_sport() which fails to discover conflict in advance. In order to fix it we must also calculate toeplitz hash in pf_get_sport() to initialize look up key properly.

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

Get rid of unused `pr_hardlimit_warning', `pr_hardlimit_ratecap' and `pr_hardlimit_warning_last'.

год назад
pf_osfp.c

correct indentation

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

Introduce M_PF type for pf(4) related memory allocations. Currently used M_TEMP and M_IFADDR types are unreasonable for that purpose. This dedicated statistics simplify the future pf(4) unlocking work by decreasing search area of possible memory leaks.

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

pf: Count m_gethdr() failures in PFRES_MEMORY counter

год назад
pf_table.c

Table persistent flag (PFR_TFLAG_PERSIST) won't get set by ioctl(2) operation if table exists already. The issue has been noticed by Giannis Kapetanakis (_at_) edu.physics.uoc.gr. Giannis noticed relayd(8) aborts unexpectedly when 'relay host' gets disabled by 'relayctl host dis ...' command. To understand what's going on we must look at the way how relayd(8) manages its firewall configuration. If relay-host 'example' is enabled relayd(8) inserts rule to anchor relayd/example. The rule looks somewhat like this: pass in from ... to ... rdr-to <example> When the rule gets inserted to pf(4) the table 'example' is created with flags: lumpy# pfctl -a relayd/example -vg -sT ----r-- example relayd/example r-flag indicates table is referred by rule only. In the next step relayd(8) creates and populates table example. It asks pf(4) to add a persistent flag (PFR_TFLAG_PERSIST), so table survives flush operation of relayd/example ruleset on behalf of 'relayctl host dis ...' command. relayd(8) exits via abort() when table is gone with disable operation.

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

Move atomically accessed `udpencap_enable' and `udpencap_port' sysctl(2) variables out of netlock.

год назад
pfkeyv2.h

remove prototypes with no matching function ok mpi@

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

Remove struct inpcb from in6_embedscope() parameters.

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

Move `encdebug' sysctl(2) variable out of netlock. It is idely used in the DPRINTF() macros, but disabled by default. We don't really need to enforce loading `encdebug' value each time, but at least it is consistent that way.

год назад
pfvar.h

pf: Count m_gethdr() failures in PFRES_MEMORY counter

год назад
pfvar_priv.h

fix RBT_ENTRY in pf_state and pf_state_key

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

Cache route per softnet thread with netstack.

год назад
pipex.h

Cache route per softnet thread with netstack.

год назад
pipex_local.h

Cache route per softnet thread with netstack.

год назад
ppp-comp.h

Paul Mackerras and the Australian National University have worked things out, and as a result, Paul now owns copyright on all these files, with the proper terms.

24 года назад
ppp-deflate.c

Add sizes for free() in zlib

5 лет назад
ppp_defs.h

Paul Mackerras and the Australian National University have worked things out, and as a result, Paul now owns copyright on all these files, with the proper terms.

24 года назад
ppp_tty.c

Allow PPP interface to run in an rdomain and get a default route installed in the same routing domain

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

spelling ok jmc@ reads ok tb@

5 лет назад
radix.h

Make rn_match() and rn_lookup() safe to be used in parrallel, when different trees are manipulated:

9 лет назад
route.c

Move IP{,V6}CTL_MULTIPATH cases of ip{,6}_sysctl() out of netlock. Add missing membar_producer() before `rtgeneration' update to invalidate route cache after ipmultipath changes.

год назад
route.h

Split union RT_gw into separate struct rtentry fields.

год назад
rtable.c

Don't include net/art.h in net/rtable.h instead let the two users include the file themselves. OK bluhm@ mpi@

2 года назад
rtable.h

remove prototypes with no matching function ok mpi@

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

Carefully prune sysctl nodes with #ifndef SMALL_KERNEL recover space lost to other bloaty software. ok bluhm

год назад
slcompress.c

ANSIfy function definitions

11 лет назад
slcompress.h

A space here, a space there. Soon we're talking real whitespace rectification.

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

add stoeplitz_eaddr, for getting a hash value from an ethernet address.

5 лет назад
toeplitz.h

fix stoeplitz_hash_h32.

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

let lacp mode trunk cope with interfaces that don't report if_baudrate.

7 лет назад
trunklacp.h

Add administrative options to LACP trunk implementation.

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

INITITIATION_COST -> INITIATION_COST

3 года назад
wg_cookie.h

add RCS tags

6 лет назад
wg_noise.c

Convert `t_lock', `r_keypair_lock' and `c_lock' rwlock(9)s to corresponding mutex(9)es.

2 года назад
wg_noise.h

Convert `t_lock', `r_keypair_lock' and `c_lock' rwlock(9)s to corresponding mutex(9)es.

2 года назад