/linux/Documentation/devicetree/bindings/hwmon/ |
H A D | ti,lm87.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Javier Carrasco <javier.carrasco.cruz@gmail.com> 27 has-temp3: 34 has-in6: 38 in6. Otherwise the pin is set as FAN1 input. 40 has-in7: 46 vcc-supply: 52 - compatible [all …]
|
/linux/net/core/ |
H A D | netpoll.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Common framework for low-level network console, dump, and debugger code 42 * We maintain a small pool of fully-sized skbs, to make sure the 65 pr_info("%s: " fmt, np->name, ##__VA_ARGS__) 67 pr_err("%s: " fmt, np->name, ##__VA_ARGS__) 69 pr_notice("%s: " fmt, np->name, ##__VA_ARGS__) 81 !vlan_hw_offload_capable(features, skb->vlan_proto)) { in netpoll_start_xmit() 105 while ((skb = skb_dequeue(&npinfo->txq))) { in queue_process() 106 struct net_device *dev = skb->dev; in queue_process() 116 /* check if skb->queue_mapping is still valid */ in queue_process() [all …]
|
/linux/Documentation/hwmon/ |
H A D | w83781d.rst | 10 Addresses scanned: I2C 0x28 - 0x2f, ISA 0x290 (8 I/O ports) 12 Datasheet: http://www.winbond-usa.com/products/winbond_products/pdfs/PCIC/w83781d.pdf 18 Addresses scanned: I2C 0x28 - 0x2f, ISA 0x290 (8 I/O ports) 28 Datasheet: http://www.winbond-usa.com/products/winbond_products/pdfs/PCIC/w83783s.pdf 34 Addresses scanned: I2C 0x28 - 0x2f 42 - Frodo Looijaard <frodol@dds.nl>, 43 - Philip Edelbrock <phil@netroedge.com>, 44 - Mark Studebaker <mdsxyz123@yahoo.com> 47 ----------------- 67 ----------- [all …]
|
H A D | dme1737.rst | 18 Addresses scanned: none, address read from Super-I/O config space 34 Addresses scanned: none, address read from Super-I/O config space 43 ----------------- 52 Include non-standard LPC addresses 0x162e and 0x164e 55 - VIA EPIA SN18000 59 ----------- 63 and SCH5127 Super-I/O chips. These chips feature monitoring of 3 temp sensors 64 temp[1-3] (2 remote diodes and 1 internal), 8 voltages in[0-7] (7 external and 65 1 internal) and up to 6 fan speeds fan[1-6]. Additionally, the chips implement 66 up to 5 PWM outputs pwm[1-3,5-6] for controlling fan speeds both manually and [all …]
|
H A D | w83792d.rst | 10 Addresses scanned: I2C 0x2c - 0x2f 19 ----------------- 35 ----------- 42 parameter; this will put it into a more well-behaved state first. 48 The driver also implements up to seven fan control outputs: pwm1-7. Pwm1-7 53 Automatic fan control mode is possible only for fan1-fan3. 64 triggered if the rotation speed has dropped below a programmable limit. Fan 69 An alarm is triggered if the voltage has crossed a programmable minimum 90 12 in6 116 ---------------- [all …]
|
H A D | lm87.rst | 10 Addresses scanned: I2C 0x2c - 0x2e 18 Addresses scanned: I2C 0x2c - 0x2e 24 - Frodo Looijaard <frodol@dds.nl>, 25 - Philip Edelbrock <phil@netroedge.com>, 26 - Mark Studebaker <mdsxyz123@yahoo.com>, 27 - Stephen Rousset <stephen.rousset@rocketlogix.com>, 28 - Dan Eaton <dan.eaton@rocketlogix.com>, 29 - Jean Delvare <jdelvare@suse.de>, 30 - Original 2.6 port Jeff Oliver 33 ----------- [all …]
|
H A D | asb100.rst | 6 * Asus ASB100 and ASB100-A "Bach" 17 ----------- 19 This driver implements support for the Asus ASB100 and ASB100-A "Bach". 30 these, the ASB100-A also implements a single PWM controller for fans 2 and 38 triggered if the rotation speed has dropped below a programmable limit. 48 - 0x0001 => in0 (?) 49 - 0x0002 => in1 (?) 50 - 0x0004 => in2 51 - 0x0008 => in3 52 - 0x0010 => temp1 [1]_ [all …]
|
H A D | adt7475.rst | 39 - Jordan Crouse 40 - Hans de Goede 41 - Darrick J. Wong (documentation) 42 - Jean Delvare 46 ----------- 50 minor details. The ADT7476 has additional features, including extra voltage 51 measurement inputs and VID support. The ADT7490 also has additional 56 The ADT747x uses the 2-wire interface compatible with the SMBus 2.0 58 temperatures and two (2) or more voltages. It has four (4) 16-bit counters 69 Each of the measured inputs (voltage, temperature, fan speed) has [all …]
|
H A D | f71805f.rst | 44 ----------- 50 This chip also has fan controlling features, using either DC or PWM, in 57 The Fintek F71806F/FG Super-I/O chip is essentially the same as the 65 ------------------ 67 Voltages are sampled by an 8-bit ADC with a LSB of 8 mV. The supported 84 in1 VIN1 VTT1.2V 10K - 1.00 1.20 V 89 in6 VIN6 VCC1.5V 10K - 1.00 1.50 V 90 in7 VIN7 VCORE 10K - 1.00 ~1.40 V [1]_ 106 Each voltage measured has associated low and high limits, each of which 111 -------------- [all …]
|
H A D | pc87360.rst | 22 ----------------- 27 - 0: None 28 - **1**: Forcibly enable internal voltage and temperature channels, 30 - 2: Forcibly enable all voltage and temperature channels, except in9 31 - 3: Forcibly enable all voltage and temperature channels, including in9 33 Note that this parameter has no effect for the PC87360, PC87363 and PC87364 42 ----------- 46 PC87364 chip has monitoring and PWM control for a third fan. 56 PC87360 - 2 2 - 0xE1 57 PC87363 - 2 2 - 0xE8 [all …]
|
H A D | w83791d.rst | 10 Addresses scanned: I2C 0x2c - 0x2f 12 Datasheet: http://www.winbond-usa.com/products/winbond_products/pdfs/PCIC/W83791D_W83791Gb.pdf 22 - Frodo Looijaard <frodol@dds.nl>, 23 - Philip Edelbrock <phil@netroedge.com>, 24 - Mark Studebaker <mdsxyz123@yahoo.com> 28 - Shane Huang (Winbond), 29 - Rudolf Marek <r.marek@assembler.cz> 33 - Sven Anders <anders@anduras.de> 34 - Marc Hulsman <m.hulsman@tudelft.nl> 37 ----------------- [all …]
|
/linux/net/netfilter/ |
H A D | xt_TPROXY.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (c) 2006-2010 BalaBit IT Ltd. 51 sk = nf_tproxy_get_sock_v4(net, skb, iph->protocol, in tproxy_tg4() 52 iph->saddr, iph->daddr, in tproxy_tg4() 53 hp->source, hp->dest, in tproxy_tg4() 54 skb->dev, NF_TPROXY_LOOKUP_ESTABLISHED); in tproxy_tg4() 56 laddr = nf_tproxy_laddr4(skb, laddr, iph->daddr); in tproxy_tg4() 58 lport = hp->dest; in tproxy_tg4() 60 /* UDP has no TCP_TIME_WAIT state, so we never enter here */ in tproxy_tg4() 61 if (sk && sk->sk_state == TCP_TIME_WAIT) in tproxy_tg4() [all …]
|
H A D | nf_nat_core.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * (C) 1999-2001 Paul `Rusty' Russell 4 * (C) 2002-2006 Netfilter Core Team <coreteam@netfilter.org> 64 const struct nf_conntrack_tuple *t = &ct->tuplehash[dir].tuple; in nf_nat_ipv4_decode_session() 65 struct flowi4 *fl4 = &fl->u.ip4; in nf_nat_ipv4_decode_session() 67 if (ct->status & statusbit) { in nf_nat_ipv4_decode_session() 68 fl4->daddr = t->dst.u3.ip; in nf_nat_ipv4_decode_session() 69 if (t->dst.protonum == IPPROTO_TCP || in nf_nat_ipv4_decode_session() 70 t->dst.protonum == IPPROTO_UDP || in nf_nat_ipv4_decode_session() 71 t->dst.protonum == IPPROTO_UDPLITE || in nf_nat_ipv4_decode_session() [all …]
|
/linux/tools/testing/selftests/net/netfilter/ |
H A D | nft_nat.sh | 11 checktool "nft --version" "run test without nft tool" 12 checktool "socat -h" "run test without socat" 20 rm -f "$INFILE" "$OUTFILE" 38 ip -net "$ns0" link set veth0 up 39 ip -net "$ns0" addr add 10.0.1.1/24 dev veth0 40 ip -net "$ns0" addr add dead:1::1/64 dev veth0 nodad 42 ip -net "$ns0" link set veth1 up 43 ip -net "$ns0" addr add 10.0.2.1/24 dev veth1 44 ip -net "$ns0" addr add dead:2::1/64 dev veth1 nodad 51 ip -net "$ns" link set eth0 up [all …]
|
/linux/net/openvswitch/ |
H A D | conntrack.c | 1 // SPDX-License-Identifier: GPL-2.0-only 87 /* Elements in ovs_ct_limit_info->limits hash table */ 111 switch (ntohs(key->eth.type)) { in key_to_nfproto() 157 return ct ? READ_ONCE(ct->mark) : 0; in ovs_ct_get_mark() 174 if (ct->master && !nf_ct_is_confirmed(ct)) in ovs_ct_get_labels() 175 ct = ct->master; in ovs_ct_get_labels() 179 memcpy(labels, cl->bits, OVS_CT_LABELS_LEN); in ovs_ct_get_labels() 188 key->ct_orig_proto = orig->dst.protonum; in __ovs_ct_update_key_orig_tp() 189 if (orig->dst.protonum == icmp_proto) { in __ovs_ct_update_key_orig_tp() 190 key->ct.orig_tp.src = htons(orig->dst.u.icmp.type); in __ovs_ct_update_key_orig_tp() [all …]
|
/linux/include/net/ |
H A D | inet_frag.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 5 #include <linux/rhashtable-types.h> 7 #include <linux/in6.h> 10 #include <net/dropreason-core.h> 34 * @INET_FRAG_FIRST_IN: first fragment has arrived 35 * @INET_FRAG_LAST_IN: final fragment has arrived 36 * @INET_FRAG_COMPLETE: frag queue has been processed and is due for destruction 37 * @INET_FRAG_HASH_DEAD: inet_frag_kill() has not removed fq from rhashtable 66 * struct inet_frag_queue - fragment queue 73 * @rb_fragments: received fragments rb-tree root [all …]
|
H A D | ip_vs.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 40 return net->ipvs; in net_ipvs() 74 iphdr->hdr_flags = hdr_flags; in ip_vs_fill_iph_skb_off() 75 iphdr->off = offset; in ip_vs_fill_iph_skb_off() 85 iphdr->saddr.in6 = iph->saddr; in ip_vs_fill_iph_skb_off() 86 iphdr->daddr.in6 = iph->daddr; in ip_vs_fill_iph_skb_off() 88 iphdr->len = offset; in ip_vs_fill_iph_skb_off() 89 iphdr->flags = 0; in ip_vs_fill_iph_skb_off() 90 iphdr->protocol = ipv6_find_hdr(skb, &iphdr->len, -1, in ip_vs_fill_iph_skb_off() 91 &iphdr->fragoffs, in ip_vs_fill_iph_skb_off() [all …]
|
/linux/include/uapi/linux/ |
H A D | xfrm.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 5 #include <linux/in6.h> 19 struct in6_addr in6; member 231 #define XFRM_MSG_MAX (__XFRM_MSG_MAX - 1) 233 #define XFRM_NR_MSGTYPES (XFRM_MSG_MAX + 1 - XFRM_MSG_BASE) 279 #define XFRM_AE_MAX (__XFRM_AE_MAX - 1) 328 #define XFRMA_MAX (__XFRMA_MAX - 1) 342 #define XFRMA_SAD_MAX (__XFRMA_SAD_MAX - 1) 358 #define XFRMA_SPD_MAX (__XFRMA_SPD_MAX - 1) 523 * Unfortunately, strongswan has the code that sets this flag, [all …]
|
H A D | libc-compat.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 10 * conflict with userspace definitions. If a UAPI header has such conflicting 20 * (a) Include libc-compat.h in the UAPI header. 21 * e.g. #include <linux/libc-compat.h> 24 * (b) In libc-compat.h add enough code to detect that the comflicting 25 * userspace libc header has been included first. 27 * (c) If the userspace libc header has been included first define a set of 198 /* Definitions for in6.h */
|
H A D | rxrpc.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later WITH Linux-syscall-note */ 13 #include <linux/in6.h> 37 #define RXRPC_UPGRADEABLE_SERVICE 5 /* Upgrade service[0] -> service[1] */ 42 * - If neither abort or accept are specified, the message is a data message. 43 * - terminal messages mean that a user call ID tag can be recycled 44 * - s/r/- indicate whether these are applicable to sendmsg() and/or recvmsg() 49 RXRPC_ACK = 3, /* -r: [Service] RPC op final ACK received [terminal] */ 50 RXRPC_NET_ERROR = 5, /* -r: network error received [terminal] */ 51 RXRPC_BUSY = 6, /* -r: server busy received [terminal] */ 52 RXRPC_LOCAL_ERROR = 7, /* -r: local error generated [terminal] */ [all …]
|
/linux/net/netfilter/ipvs/ |
H A D | ip_vs_sync.c | 1 // SPDX-License-Identifier: GPL-2.0 6 * high-performance and highly available server based on a 13 * time-outs, and firewall marks. 15 * Ver. 0 can be turned on by sysctl -w net.ipv4.vs.sync_version=0 32 * Persistence support, fwmark and time-out. 61 #define IP_VS_SYNC_GROUP 0xe0000051 /* multicast addr - 224.0.0.81 */ 100 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 102 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 104 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 106 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ [all …]
|
H A D | ip_vs_core.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 6 * high-performance and highly available server based on a 14 * with changes/fixes from Julian Anastasov, Lars Marowsky-Bree, Horms 18 * Paul `Rusty' Russell properly handle non-linear skbs 87 #define icmp_id(icmph) (((icmph)->un).echo.id) 88 #define icmpv6_id(icmph) (icmph->icmp6_dataun.u_echo.identifier) 117 while (--rows >= 0) in ip_vs_init_hash_table() 124 struct ip_vs_dest *dest = cp->dest; in ip_vs_in_stats() 125 struct netns_ipvs *ipvs = cp->ipvs; in ip_vs_in_stats() 127 if (dest && (dest->flags & IP_VS_DEST_F_AVAILABLE)) { in ip_vs_in_stats() [all …]
|
H A D | ip_vs_proto_tcp.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 12 * tcp_timeouts table has copy per netns in a hash table per 46 * TCP packet for non-ICMP packets in tcp_conn_schedule() 49 th = skb_header_pointer(skb, iph->len, sizeof(_tcph), &_tcph); in tcp_conn_schedule() 51 if (th->rst || !(sysctl_sloppy_tcp(ipvs) || th->syn)) in tcp_conn_schedule() 53 ports = &th->source; in tcp_conn_schedule() 57 skb, iph->len, sizeof(_ports), &_ports); in tcp_conn_schedule() 65 /* No !th->ack check to allow scheduling on SYN+ACK for Active FTP */ in tcp_conn_schedule() 68 svc = ip_vs_service_find(ipvs, af, skb->mark, iph->protocol, in tcp_conn_schedule() 69 &iph->daddr, ports[1]); in tcp_conn_schedule() [all …]
|
/linux/net/sctp/ |
H A D | ipv6.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 6 * Copyright (c) 2002-2003 Intel Corp. 14 * lksctp developers <linux-sctp@vger.kernel.org> 37 #include <linux/in6.h> 81 struct net *net = dev_net(ifa->idev->dev); in sctp_inet6addr_event() 88 addr->a.v6.sin6_family = AF_INET6; in sctp_inet6addr_event() 89 addr->a.v6.sin6_addr = ifa->addr; in sctp_inet6addr_event() 90 addr->a.v6.sin6_scope_id = ifa->idev->dev->ifindex; in sctp_inet6addr_event() 91 addr->valid = 1; in sctp_inet6addr_event() 92 spin_lock_bh(&net->sctp.local_addr_lock); in sctp_inet6addr_event() [all …]
|
/linux/drivers/net/ethernet/meta/fbnic/ |
H A D | fbnic_rpc.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 7 #include <uapi/linux/in6.h> 12 * Disabled 0 -> Add 2 13 * Add 2 -> Valid 1 15 * Valid 1 -> Add/Update 2 16 * Add 2 -> Valid 1 18 * Valid 1 -> Delete 3 19 * Delete 3 -> Disabled 0 86 (FBNIC_RPC_ACT_TBL_NUM_ENTRIES - FBNIC_RSS_EN_NUM_ENTRIES) 104 (FBNIC_MAC_ADDR_T_HOST_LAST - FBNIC_MAC_ADDR_T_HOST_START) [all …]
|