/
usr
/
src
/
kernels
/
4.18.0-553.157.1.el8_10.x86_64
/
include
/
net
/
/usr/src/kernels/4.18.0-553.157.1.el8_10.x86_64/include/net
mkdir
upload
Name
Size
Mode
Actions
9p/
-
0755
rm
bluetooth/
-
0755
rm
caif/
-
0755
rm
iucv/
-
0755
rm
mana/
-
0755
rm
netfilter/
-
0755
rm
netns/
-
0755
rm
nfc/
-
0755
rm
phonet/
-
0755
rm
sctp/
-
0755
rm
tc_act/
-
0755
rm
6lowpan.h
10271
0644
edit
dl
rm
act_api.h
9559
0644
edit
dl
rm
addrconf.h
13826
0644
edit
dl
rm
af_ieee802154.h
1591
0644
edit
dl
rm
af_rxrpc.h
2976
0644
edit
dl
rm
af_unix.h
2272
0644
edit
dl
rm
af_vsock.h
7295
0644
edit
dl
rm
ah.h
382
0644
edit
dl
rm
arp.h
2052
0644
edit
dl
rm
atmclip.h
1515
0644
edit
dl
rm
ax25.h
14999
0644
edit
dl
rm
ax88796.h
1488
0644
edit
dl
rm
bareudp.h
333
0644
edit
dl
rm
bonding.h
20225
0644
edit
dl
rm
bond_3ad.h
9629
0644
edit
dl
rm
bond_alb.h
6251
0644
edit
dl
rm
bond_options.h
3916
0644
edit
dl
rm
bpf_sk_storage.h
1802
0644
edit
dl
rm
busy_poll.h
4973
0644
edit
dl
rm
calipso.h
2199
0644
edit
dl
rm
cfg80211-wext.h
1900
0644
edit
dl
rm
cfg80211.h
325844
0644
edit
dl
rm
cfg802154.h
11175
0644
edit
dl
rm
checksum.h
4850
0644
edit
dl
rm
cipso_ipv4.h
8399
0644
edit
dl
rm
cls_cgroup.h
2301
0644
edit
dl
rm
codel.h
6000
0644
edit
dl
rm
codel_impl.h
8500
0644
edit
dl
rm
codel_qdisc.h
3001
0644
edit
dl
rm
compat.h
1711
0644
edit
dl
rm
datalink.h
619
0644
edit
dl
rm
dcbevent.h
1293
0644
edit
dl
rm
dcbnl.h
5267
0644
edit
dl
rm
devlink.h
64711
0644
edit
dl
rm
dn.h
7046
0644
edit
dl
rm
dn_dev.h
5488
0644
edit
dl
rm
dn_fib.h
4077
0644
edit
dl
rm
dn_neigh.h
968
0644
edit
dl
rm
dn_nsp.h
5966
0644
edit
dl
rm
dn_route.h
4500
0644
edit
dl
rm
dropreason-core.h
12063
0644
edit
dl
rm
drop_monitor.h
901
0644
edit
dl
rm
dsa.h
16605
0644
edit
dl
rm
dsfield.h
1139
0644
edit
dl
rm
dst.h
14870
0644
edit
dl
rm
dst_cache.h
2596
0644
edit
dl
rm
dst_metadata.h
5521
0644
edit
dl
rm
dst_ops.h
2564
0644
edit
dl
rm
erspan.h
8527
0644
edit
dl
rm
esp.h
1190
0644
edit
dl
rm
espintcp.h
966
0644
edit
dl
rm
ethoc.h
537
0644
edit
dl
rm
failover.h
1178
0644
edit
dl
rm
fib_notifier.h
1476
0644
edit
dl
rm
fib_rules.h
5728
0644
edit
dl
rm
firewire.h
636
0644
edit
dl
rm
flow.h
6353
0644
edit
dl
rm
flow_dissector.h
11284
0644
edit
dl
rm
flow_offload.h
17797
0644
edit
dl
rm
fou.h
549
0644
edit
dl
rm
fq.h
2497
0644
edit
dl
rm
fq_impl.h
8144
0644
edit
dl
rm
garp.h
2678
0644
edit
dl
rm
genetlink.h
14647
0644
edit
dl
rm
geneve.h
1898
0644
edit
dl
rm
gen_stats.h
3034
0644
edit
dl
rm
gre.h
3377
0644
edit
dl
rm
gro_cells.h
443
0644
edit
dl
rm
gtp.h
633
0644
edit
dl
rm
gue.h
3311
0644
edit
dl
rm
hwbm.h
937
0644
edit
dl
rm
icmp.h
1765
0644
edit
dl
rm
ieee80211_radiotap.h
23017
0644
edit
dl
rm
ieee802154_netdev.h
9358
0644
edit
dl
rm
ife.h
1057
0644
edit
dl
rm
if_inet6.h
6591
0644
edit
dl
rm
ila.h
498
0644
edit
dl
rm
inet6_connection_sock.h
976
0644
edit
dl
rm
inet6_hashtables.h
3746
0644
edit
dl
rm
inetpeer.h
3372
0644
edit
dl
rm
inet_common.h
2614
0644
edit
dl
rm
inet_connection_sock.h
12070
0644
edit
dl
rm
inet_ecn.h
8071
0644
edit
dl
rm
inet_frag.h
4816
0644
edit
dl
rm
inet_hashtables.h
13847
0644
edit
dl
rm
inet_sock.h
9828
0644
edit
dl
rm
inet_timewait_sock.h
3926
0644
edit
dl
rm
ip.h
21354
0644
edit
dl
rm
ip6_checksum.h
2981
0644
edit
dl
rm
ip6_fib.h
13766
0644
edit
dl
rm
ip6_route.h
9228
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
32741
0644
edit
dl
rm
ipv6_frag.h
3321
0644
edit
dl
rm
ipv6_stubs.h
2671
0644
edit
dl
rm
ipx.h
4386
0644
edit
dl
rm
ip_fib.h
14290
0644
edit
dl
rm
ip_tunnels.h
14697
0644
edit
dl
rm
ip_vs.h
49407
0644
edit
dl
rm
iw_handler.h
21413
0644
edit
dl
rm
kcm.h
5083
0644
edit
dl
rm
l3mdev.h
6743
0644
edit
dl
rm
lag.h
409
0644
edit
dl
rm
lapb.h
4869
0644
edit
dl
rm
lib80211.h
4017
0644
edit
dl
rm
llc.h
4464
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
14783
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
6563
0644
edit
dl
rm
mac80211.h
294437
0644
edit
dl
rm
mac802154.h
15633
0644
edit
dl
rm
mip6.h
1617
0644
edit
dl
rm
mld.h
2870
0644
edit
dl
rm
mpls.h
1340
0644
edit
dl
rm
mpls_iptunnel.h
827
0644
edit
dl
rm
mptcp.h
6242
0644
edit
dl
rm
mrp.h
3103
0644
edit
dl
rm
ncsi.h
1964
0644
edit
dl
rm
ndisc.h
15095
0644
edit
dl
rm
neighbour.h
16289
0644
edit
dl
rm
netdev_queues.h
5609
0644
edit
dl
rm
netevent.h
1044
0644
edit
dl
rm
netlabel.h
21236
0644
edit
dl
rm
netlink.h
63253
0644
edit
dl
rm
netprio_cgroup.h
1260
0644
edit
dl
rm
netrom.h
7896
0644
edit
dl
rm
net_failover.h
1023
0644
edit
dl
rm
net_namespace.h
14177
0644
edit
dl
rm
net_ratelimit.h
220
0644
edit
dl
rm
nexthop.h
865
0644
edit
dl
rm
nl802154.h
12385
0644
edit
dl
rm
nsh.h
12602
0644
edit
dl
rm
p8022.h
447
0644
edit
dl
rm
page_pool.h
6985
0644
edit
dl
rm
pie.h
3684
0644
edit
dl
rm
ping.h
3197
0644
edit
dl
rm
pkt_cls.h
26178
0644
edit
dl
rm
pkt_sched.h
6543
0644
edit
dl
rm
pptp.h
557
0644
edit
dl
rm
protocol.h
4320
0644
edit
dl
rm
psample.h
1083
0644
edit
dl
rm
psnap.h
351
0644
edit
dl
rm
raw.h
2161
0644
edit
dl
rm
rawv6.h
856
0644
edit
dl
rm
red.h
11600
0644
edit
dl
rm
regulatory.h
10961
0644
edit
dl
rm
request_sock.h
6871
0644
edit
dl
rm
rose.h
7802
0644
edit
dl
rm
route.h
11390
0644
edit
dl
rm
rsi_91x.h
1710
0644
edit
dl
rm
rtnetlink.h
7317
0644
edit
dl
rm
sch_generic.h
33841
0644
edit
dl
rm
scm.h
3671
0644
edit
dl
rm
secure_seq.h
855
0644
edit
dl
rm
seg6.h
1874
0644
edit
dl
rm
seg6_hmac.h
1699
0644
edit
dl
rm
seg6_local.h
870
0644
edit
dl
rm
slhc_vj.h
6831
0644
edit
dl
rm
smc.h
2155
0644
edit
dl
rm
snmp.h
5482
0644
edit
dl
rm
sock.h
79182
0644
edit
dl
rm
sock_reuseport.h
1565
0644
edit
dl
rm
Space.h
1094
0644
edit
dl
rm
stp.h
383
0644
edit
dl
rm
strparser.h
4340
0644
edit
dl
rm
switchdev.h
17812
0644
edit
dl
rm
tcp.h
73206
0644
edit
dl
rm
tcp_states.h
1540
0644
edit
dl
rm
tc_wrapper.h
7033
0644
edit
dl
rm
timewait_sock.h
1136
0644
edit
dl
rm
tipc.h
2405
0644
edit
dl
rm
tls.h
21363
0644
edit
dl
rm
tls_toe.h
3006
0644
edit
dl
rm
transp_v6.h
1996
0644
edit
dl
rm
tso.h
515
0644
edit
dl
rm
tun_proto.h
988
0644
edit
dl
rm
udp.h
16481
0644
edit
dl
rm
udplite.h
3762
0644
edit
dl
rm
udp_tunnel.h
13376
0644
edit
dl
rm
vsock_addr.h
662
0644
edit
dl
rm
vxlan.h
13541
0644
edit
dl
rm
wext.h
1510
0644
edit
dl
rm
wimax.h
20445
0644
edit
dl
rm
x25.h
9658
0644
edit
dl
rm
x25device.h
387
0644
edit
dl
rm
xdp.h
9436
0644
edit
dl
rm
xdp_priv.h
446
0644
edit
dl
rm
xdp_sock.h
2094
0644
edit
dl
rm
xdp_sock_drv.h
6423
0644
edit
dl
rm
xfrm.h
59628
0644
edit
dl
rm
xsk_buff_pool.h
6550
0644
edit
dl
rm
Edit:
/usr/src/kernels/4.18.0-553.157.1.el8_10.x86_64/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