/
usr
/
src
/
linux-headers-5.15.0-190
/
include
/
net
/
/usr/src/linux-headers-5.15.0-190/include/net
mkdir
upload
Name
Size
Mode
Actions
9p/
-
0755
rm
bluetooth/
-
0755
rm
caif/
-
0755
rm
iucv/
-
0755
rm
netfilter/
-
0755
rm
netns/
-
0755
rm
nfc/
-
0755
rm
phonet/
-
0755
rm
sctp/
-
0755
rm
tc_act/
-
0755
rm
6lowpan.h
10270
0644
edit
dl
rm
act_api.h
8728
0644
edit
dl
rm
addrconf.h
14594
0644
edit
dl
rm
af_ieee802154.h
1220
0644
edit
dl
rm
af_rxrpc.h
2798
0644
edit
dl
rm
af_unix.h
3375
0644
edit
dl
rm
af_vsock.h
7592
0644
edit
dl
rm
ah.h
382
0644
edit
dl
rm
arp.h
2141
0644
edit
dl
rm
atmclip.h
1515
0644
edit
dl
rm
ax25.h
15443
0644
edit
dl
rm
ax88796.h
1440
0644
edit
dl
rm
bareudp.h
572
0644
edit
dl
rm
bonding.h
20263
0644
edit
dl
rm
bond_3ad.h
9706
0644
edit
dl
rm
bond_alb.h
6251
0644
edit
dl
rm
bond_options.h
3876
0644
edit
dl
rm
bpf_sk_storage.h
1780
0644
edit
dl
rm
busy_poll.h
3959
0644
edit
dl
rm
calipso.h
1590
0644
edit
dl
rm
cfg80211-wext.h
1854
0644
edit
dl
rm
cfg80211.h
301317
0644
edit
dl
rm
cfg802154.h
10779
0644
edit
dl
rm
checksum.h
4869
0644
edit
dl
rm
cipso_ipv4.h
7548
0644
edit
dl
rm
cls_cgroup.h
2086
0644
edit
dl
rm
codel.h
5782
0644
edit
dl
rm
codel_impl.h
8167
0644
edit
dl
rm
codel_qdisc.h
2973
0644
edit
dl
rm
compat.h
2586
0644
edit
dl
rm
datalink.h
619
0644
edit
dl
rm
dcbevent.h
742
0644
edit
dl
rm
dcbnl.h
4317
0644
edit
dl
rm
devlink.h
63593
0644
edit
dl
rm
dsa.h
36231
0644
edit
dl
rm
dsfield.h
1147
0644
edit
dl
rm
dst.h
15153
0644
edit
dl
rm
dst_cache.h
3031
0644
edit
dl
rm
dst_metadata.h
5521
0644
edit
dl
rm
dst_ops.h
2125
0644
edit
dl
rm
erspan.h
9180
0644
edit
dl
rm
esp.h
1190
0644
edit
dl
rm
espintcp.h
966
0644
edit
dl
rm
ethoc.h
391
0644
edit
dl
rm
failover.h
1178
0644
edit
dl
rm
fib_notifier.h
1384
0644
edit
dl
rm
fib_rules.h
6450
0644
edit
dl
rm
firewire.h
636
0644
edit
dl
rm
flow.h
5119
0644
edit
dl
rm
flow_dissector.h
11033
0644
edit
dl
rm
flow_offload.h
15938
0644
edit
dl
rm
fou.h
549
0644
edit
dl
rm
fq.h
2528
0644
edit
dl
rm
fq_impl.h
8076
0644
edit
dl
rm
garp.h
2678
0644
edit
dl
rm
genetlink.h
13854
0644
edit
dl
rm
geneve.h
1898
0644
edit
dl
rm
gen_stats.h
2889
0644
edit
dl
rm
gre.h
3369
0644
edit
dl
rm
gro.h
783
0644
edit
dl
rm
gro_cells.h
443
0644
edit
dl
rm
gtp.h
633
0644
edit
dl
rm
gue.h
3313
0644
edit
dl
rm
hwbm.h
969
0644
edit
dl
rm
icmp.h
1918
0644
edit
dl
rm
ieee80211_radiotap.h
13518
0644
edit
dl
rm
ieee802154_netdev.h
10095
0644
edit
dl
rm
ife.h
1057
0644
edit
dl
rm
if_inet6.h
6692
0644
edit
dl
rm
ila.h
291
0644
edit
dl
rm
inet6_connection_sock.h
765
0644
edit
dl
rm
inet6_hashtables.h
4259
0644
edit
dl
rm
inetpeer.h
3372
0644
edit
dl
rm
inet_common.h
2614
0644
edit
dl
rm
inet_connection_sock.h
11608
0644
edit
dl
rm
inet_ecn.h
7625
0644
edit
dl
rm
inet_frag.h
5046
0644
edit
dl
rm
inet_hashtables.h
12532
0644
edit
dl
rm
inet_sock.h
9994
0644
edit
dl
rm
inet_timewait_sock.h
3735
0644
edit
dl
rm
ioam6.h
1248
0644
edit
dl
rm
ip.h
22759
0644
edit
dl
rm
ip6_checksum.h
2770
0644
edit
dl
rm
ip6_fib.h
16280
0644
edit
dl
rm
ip6_route.h
10230
0644
edit
dl
rm
ip6_tunnel.h
5096
0644
edit
dl
rm
ipcomp.h
659
0644
edit
dl
rm
ipconfig.h
811
0644
edit
dl
rm
ipv6.h
35990
0644
edit
dl
rm
ipv6_frag.h
3361
0644
edit
dl
rm
ipv6_stubs.h
3482
0644
edit
dl
rm
ip_fib.h
16346
0644
edit
dl
rm
ip_tunnels.h
15949
0644
edit
dl
rm
ip_vs.h
50588
0644
edit
dl
rm
iw_handler.h
21413
0644
edit
dl
rm
kcm.h
4961
0644
edit
dl
rm
l3mdev.h
7202
0644
edit
dl
rm
lag.h
409
0644
edit
dl
rm
lapb.h
4938
0644
edit
dl
rm
lib80211.h
4017
0644
edit
dl
rm
llc.h
4514
0644
edit
dl
rm
llc_conn.h
4155
0644
edit
dl
rm
llc_c_ac.h
9537
0644
edit
dl
rm
llc_c_ev.h
10940
0644
edit
dl
rm
llc_c_st.h
1762
0644
edit
dl
rm
llc_if.h
2210
0644
edit
dl
rm
llc_pdu.h
14697
0644
edit
dl
rm
llc_sap.h
1108
0644
edit
dl
rm
llc_s_ac.h
1591
0644
edit
dl
rm
llc_s_ev.h
2255
0644
edit
dl
rm
llc_s_st.h
947
0644
edit
dl
rm
lwtunnel.h
6806
0644
edit
dl
rm
mac80211.h
274120
0644
edit
dl
rm
mac802154.h
15235
0644
edit
dl
rm
macsec.h
7084
0644
edit
dl
rm
mctp.h
6155
0644
edit
dl
rm
mctpdevice.h
841
0644
edit
dl
rm
mip6.h
1016
0644
edit
dl
rm
mld.h
2918
0644
edit
dl
rm
mpls.h
943
0644
edit
dl
rm
mpls_iptunnel.h
429
0644
edit
dl
rm
mptcp.h
6776
0644
edit
dl
rm
mrp.h
3119
0644
edit
dl
rm
ncsi.h
1964
0644
edit
dl
rm
ndisc.h
15150
0644
edit
dl
rm
neighbour.h
16099
0644
edit
dl
rm
netevent.h
1044
0644
edit
dl
rm
netlabel.h
20676
0644
edit
dl
rm
netlink.h
61892
0644
edit
dl
rm
netprio_cgroup.h
1047
0644
edit
dl
rm
netrom.h
7895
0644
edit
dl
rm
net_failover.h
1023
0644
edit
dl
rm
net_namespace.h
12795
0644
edit
dl
rm
net_ratelimit.h
220
0644
edit
dl
rm
nexthop.h
12565
0644
edit
dl
rm
nl802154.h
12384
0644
edit
dl
rm
nsh.h
12602
0644
edit
dl
rm
p8022.h
447
0644
edit
dl
rm
page_pool.h
8646
0644
edit
dl
rm
pie.h
3695
0644
edit
dl
rm
ping.h
2970
0644
edit
dl
rm
pkt_cls.h
24431
0644
edit
dl
rm
pkt_sched.h
6042
0644
edit
dl
rm
pptp.h
557
0644
edit
dl
rm
protocol.h
3900
0644
edit
dl
rm
psample.h
1083
0644
edit
dl
rm
psnap.h
351
0644
edit
dl
rm
raw.h
2136
0644
edit
dl
rm
rawv6.h
854
0644
edit
dl
rm
red.h
11600
0644
edit
dl
rm
regulatory.h
10901
0644
edit
dl
rm
request_sock.h
6660
0644
edit
dl
rm
rose.h
7802
0644
edit
dl
rm
route.h
11361
0644
edit
dl
rm
rpl.h
839
0644
edit
dl
rm
rsi_91x.h
1710
0644
edit
dl
rm
rtnetlink.h
7638
0644
edit
dl
rm
rtnh.h
859
0644
edit
dl
rm
sch_generic.h
34991
0644
edit
dl
rm
scm.h
3877
0644
edit
dl
rm
secure_seq.h
855
0644
edit
dl
rm
seg6.h
2237
0644
edit
dl
rm
seg6_hmac.h
1473
0644
edit
dl
rm
seg6_local.h
644
0644
edit
dl
rm
selftests.h
582
0644
edit
dl
rm
slhc_vj.h
6831
0644
edit
dl
rm
smc.h
2513
0644
edit
dl
rm
snmp.h
5268
0644
edit
dl
rm
sock.h
86351
0644
edit
dl
rm
sock_reuseport.h
1873
0644
edit
dl
rm
Space.h
737
0644
edit
dl
rm
stp.h
383
0644
edit
dl
rm
strparser.h
4250
0644
edit
dl
rm
switchdev.h
14614
0644
edit
dl
rm
tcp.h
75327
0644
edit
dl
rm
tcp_states.h
1225
0644
edit
dl
rm
timewait_sock.h
925
0644
edit
dl
rm
tipc.h
2405
0644
edit
dl
rm
tls.h
21465
0644
edit
dl
rm
tls_toe.h
3006
0644
edit
dl
rm
transp_v6.h
1996
0644
edit
dl
rm
tso.h
566
0644
edit
dl
rm
tun_proto.h
988
0644
edit
dl
rm
udp.h
17035
0644
edit
dl
rm
udplite.h
3762
0644
edit
dl
rm
udp_tunnel.h
12739
0644
edit
dl
rm
vsock_addr.h
662
0644
edit
dl
rm
vxlan.h
14424
0644
edit
dl
rm
wext.h
1510
0644
edit
dl
rm
x25.h
9718
0644
edit
dl
rm
x25device.h
387
0644
edit
dl
rm
xdp.h
8829
0644
edit
dl
rm
xdp_priv.h
446
0644
edit
dl
rm
xdp_sock.h
2094
0644
edit
dl
rm
xdp_sock_drv.h
5607
0644
edit
dl
rm
xfrm.h
56304
0644
edit
dl
rm
xsk_buff_pool.h
5138
0644
edit
dl
rm
Edit:
/usr/src/linux-headers-5.15.0-190/include/net/rose.h
(7802B)
/* SPDX-License-Identifier: GPL-2.0 */ /* * Declarations of Rose type objects. * * Jonathan Naylor G4KLX 25/8/96 */ #ifndef _ROSE_H #define _ROSE_H #include <linux/rose.h> #include <net/sock.h> #define ROSE_ADDR_LEN 5 #define ROSE_MIN_LEN 3 #define ROSE_CALL_REQ_ADDR_LEN_OFF 3 #define ROSE_CALL_REQ_ADDR_LEN_VAL 0xAA /* each address is 10 digits */ #define ROSE_CALL_REQ_DEST_ADDR_OFF 4 #define ROSE_CALL_REQ_SRC_ADDR_OFF 9 #define ROSE_CALL_REQ_FACILITIES_OFF 14 #define ROSE_GFI 0x10 #define ROSE_Q_BIT 0x80 #define ROSE_D_BIT 0x40 #define ROSE_M_BIT 0x10 #define ROSE_CALL_REQUEST 0x0B #define ROSE_CALL_ACCEPTED 0x0F #define ROSE_CLEAR_REQUEST 0x13 #define ROSE_CLEAR_CONFIRMATION 0x17 #define ROSE_DATA 0x00 #define ROSE_INTERRUPT 0x23 #define ROSE_INTERRUPT_CONFIRMATION 0x27 #define ROSE_RR 0x01 #define ROSE_RNR 0x05 #define ROSE_REJ 0x09 #define ROSE_RESET_REQUEST 0x1B #define ROSE_RESET_CONFIRMATION 0x1F #define ROSE_REGISTRATION_REQUEST 0xF3 #define ROSE_REGISTRATION_CONFIRMATION 0xF7 #define ROSE_RESTART_REQUEST 0xFB #define ROSE_RESTART_CONFIRMATION 0xFF #define ROSE_DIAGNOSTIC 0xF1 #define ROSE_ILLEGAL 0xFD /* Define Link State constants. */ enum { ROSE_STATE_0, /* Ready */ ROSE_STATE_1, /* Awaiting Call Accepted */ ROSE_STATE_2, /* Awaiting Clear Confirmation */ ROSE_STATE_3, /* Data Transfer */ ROSE_STATE_4, /* Awaiting Reset Confirmation */ ROSE_STATE_5 /* Deferred Call Acceptance */ }; #define ROSE_DEFAULT_T0 180000 /* Default T10 T20 value */ #define ROSE_DEFAULT_T1 200000 /* Default T11 T21 value */ #define ROSE_DEFAULT_T2 180000 /* Default T12 T22 value */ #define ROSE_DEFAULT_T3 180000 /* Default T13 T23 value */ #define ROSE_DEFAULT_HB 5000 /* Default Holdback value */ #define ROSE_DEFAULT_IDLE 0 /* No Activity Timeout - none */ #define ROSE_DEFAULT_ROUTING 1 /* Default routing flag */ #define ROSE_DEFAULT_FAIL_TIMEOUT 120000 /* Time until link considered usable */ #define ROSE_DEFAULT_MAXVC 50 /* Maximum number of VCs per neighbour */ #define ROSE_DEFAULT_WINDOW_SIZE 7 /* Default window size */ #define ROSE_MODULUS 8 #define ROSE_MAX_PACKET_SIZE 251 /* Maximum packet size */ #define ROSE_COND_ACK_PENDING 0x01 #define ROSE_COND_PEER_RX_BUSY 0x02 #define ROSE_COND_OWN_RX_BUSY 0x04 #define FAC_NATIONAL 0x00 #define FAC_CCITT 0x0F #define FAC_NATIONAL_RAND 0x7F #define FAC_NATIONAL_FLAGS 0x3F #define FAC_NATIONAL_DEST_DIGI 0xE9 #define FAC_NATIONAL_SRC_DIGI 0xEB #define FAC_NATIONAL_FAIL_CALL 0xED #define FAC_NATIONAL_FAIL_ADD 0xEE #define FAC_NATIONAL_DIGIS 0xEF #define FAC_CCITT_DEST_NSAP 0xC9 #define FAC_CCITT_SRC_NSAP 0xCB struct rose_neigh { struct rose_neigh *next; ax25_address callsign; ax25_digi *digipeat; ax25_cb *ax25; struct net_device *dev; unsigned short count; unsigned short use; unsigned int number; char restarted; char dce_mode; char loopback; struct sk_buff_head queue; struct timer_list t0timer; struct timer_list ftimer; }; struct rose_node { struct rose_node *next; rose_address address; unsigned short mask; unsigned char count; char loopback; struct rose_neigh *neighbour[3]; }; struct rose_route { struct rose_route *next; unsigned int lci1, lci2; rose_address src_addr, dest_addr; ax25_address src_call, dest_call; struct rose_neigh *neigh1, *neigh2; unsigned int rand; }; struct rose_sock { struct sock sock; rose_address source_addr, dest_addr; ax25_address source_call, dest_call; unsigned char source_ndigis, dest_ndigis; ax25_address source_digis[ROSE_MAX_DIGIS]; ax25_address dest_digis[ROSE_MAX_DIGIS]; struct rose_neigh *neighbour; struct net_device *device; unsigned int lci, rand; unsigned char state, condition, qbitincl, defer; unsigned char cause, diagnostic; unsigned short vs, vr, va, vl; unsigned long t1, t2, t3, hb, idle; #ifdef M_BIT unsigned short fraglen; struct sk_buff_head frag_queue; #endif struct sk_buff_head ack_queue; struct rose_facilities_struct facilities; struct timer_list timer; struct timer_list idletimer; }; #define rose_sk(sk) ((struct rose_sock *)(sk)) /* af_rose.c */ extern ax25_address rose_callsign; extern int sysctl_rose_restart_request_timeout; extern int sysctl_rose_call_request_timeout; extern int sysctl_rose_reset_request_timeout; extern int sysctl_rose_clear_request_timeout; extern int sysctl_rose_no_activity_timeout; extern int sysctl_rose_ack_hold_back_timeout; extern int sysctl_rose_routing_control; extern int sysctl_rose_link_fail_timeout; extern int sysctl_rose_maximum_vcs; extern int sysctl_rose_window_size; int rosecmp(rose_address *, rose_address *); int rosecmpm(rose_address *, rose_address *, unsigned short); char *rose2asc(char *buf, const rose_address *); struct sock *rose_find_socket(unsigned int, struct rose_neigh *); void rose_kill_by_neigh(struct rose_neigh *); unsigned int rose_new_lci(struct rose_neigh *); int rose_rx_call_request(struct sk_buff *, struct net_device *, struct rose_neigh *, unsigned int); void rose_destroy_socket(struct sock *); /* rose_dev.c */ void rose_setup(struct net_device *); /* rose_in.c */ int rose_process_rx_frame(struct sock *, struct sk_buff *); /* rose_link.c */ void rose_start_ftimer(struct rose_neigh *); void rose_stop_ftimer(struct rose_neigh *); void rose_stop_t0timer(struct rose_neigh *); int rose_ftimer_running(struct rose_neigh *); void rose_link_rx_restart(struct sk_buff *, struct rose_neigh *, unsigned short); void rose_transmit_clear_request(struct rose_neigh *, unsigned int, unsigned char, unsigned char); void rose_transmit_link(struct sk_buff *, struct rose_neigh *); /* rose_loopback.c */ void rose_loopback_init(void); void rose_loopback_clear(void); int rose_loopback_queue(struct sk_buff *, struct rose_neigh *); /* rose_out.c */ void rose_kick(struct sock *); void rose_enquiry_response(struct sock *); /* rose_route.c */ extern struct rose_neigh *rose_loopback_neigh; extern const struct seq_operations rose_neigh_seqops; extern const struct seq_operations rose_node_seqops; extern struct seq_operations rose_route_seqops; void rose_add_loopback_neigh(void); int __must_check rose_add_loopback_node(rose_address *); void rose_del_loopback_node(rose_address *); void rose_rt_device_down(struct net_device *); void rose_link_device_down(struct net_device *); struct net_device *rose_dev_first(void); struct net_device *rose_dev_get(rose_address *); struct rose_route *rose_route_free_lci(unsigned int, struct rose_neigh *); struct rose_neigh *rose_get_neigh(rose_address *, unsigned char *, unsigned char *, int); int rose_rt_ioctl(unsigned int, void __user *); void rose_link_failed(ax25_cb *, int); int rose_route_frame(struct sk_buff *, ax25_cb *); void rose_rt_free(void); /* rose_subr.c */ void rose_clear_queues(struct sock *); void rose_frames_acked(struct sock *, unsigned short); void rose_requeue_frames(struct sock *); int rose_validate_nr(struct sock *, unsigned short); void rose_write_internal(struct sock *, int); int rose_decode(struct sk_buff *, int *, int *, int *, int *, int *); int rose_parse_facilities(unsigned char *, unsigned int, struct rose_facilities_struct *); void rose_disconnect(struct sock *, int, int, int); /* rose_timer.c */ void rose_start_heartbeat(struct sock *); void rose_start_t1timer(struct sock *); void rose_start_t2timer(struct sock *); void rose_start_t3timer(struct sock *); void rose_start_hbtimer(struct sock *); void rose_start_idletimer(struct sock *); void rose_stop_heartbeat(struct sock *); void rose_stop_timer(struct sock *); void rose_stop_idletimer(struct sock *); /* sysctl_net_rose.c */ void rose_register_sysctl(void); void rose_unregister_sysctl(void); #endif
Save
cmd:
run