Searched defs:proto (Results 1 - 25 of 39) sorted by relevance

12

/include/linux/netfilter/ipset/
H A Dip_set_getport.h5 __be16 *port, u8 *proto);
9 __be16 *port, u8 *proto);
12 __be16 *port, u8 *proto)
21 static inline bool ip_set_proto_with_ports(u8 proto) argument
23 switch (proto) {
11 ip_set_get_ip6_port(const struct sk_buff *skb, bool src, __be16 *port, u8 *proto) argument
/include/asm-generic/
H A Dchecksum.h69 unsigned short proto, __wsum sum);
75 unsigned short proto, __wsum sum)
77 return csum_fold(csum_tcpudp_nofold(saddr, daddr, len, proto, sum));
74 csum_tcpudp_magic(__be32 saddr, __be32 daddr, unsigned short len, unsigned short proto, __wsum sum) argument
/include/linux/
H A Dif_bridge.h26 __be16 proto; member in struct:br_ip
43 bool br_multicast_has_querier_anywhere(struct net_device *dev, int proto);
44 bool br_multicast_has_querier_adjacent(struct net_device *dev, int proto);
52 int proto)
57 int proto)
51 br_multicast_has_querier_anywhere(struct net_device *dev, int proto) argument
56 br_multicast_has_querier_adjacent(struct net_device *dev, int proto) argument
H A Din.h25 static inline int proto_ports_offset(int proto) argument
27 switch (proto) {
H A Dhdlc.h47 const struct hdlc_proto *proto; member in struct:hdlc_device
67 void register_hdlc_protocol(struct hdlc_proto *proto);
68 void unregister_hdlc_protocol(struct hdlc_proto *proto);
101 int attach_hdlc_protocol(struct net_device *dev, struct hdlc_proto *proto,
114 if (hdlc->proto->type_trans)
115 return hdlc->proto->type_trans(skb, dev);
H A Dif_pppox.h75 } proto; member in struct:pppox_sock
78 #define pppoe_dev proto.pppoe.dev
79 #define pppoe_ifindex proto.pppoe.ifindex
80 #define pppoe_pa proto.pppoe.pa
81 #define pppoe_relay proto.pppoe.relay
H A Dif_vlan.h191 extern int vlan_vid_add(struct net_device *dev, __be16 proto, u16 vid);
192 extern void vlan_vid_del(struct net_device *dev, __be16 proto, u16 vid);
243 static inline int vlan_vid_add(struct net_device *dev, __be16 proto, u16 vid) argument
248 static inline void vlan_vid_del(struct net_device *dev, __be16 proto, u16 vid) argument
275 __be16 proto)
277 if (proto == htons(ETH_P_8021Q) && features & NETIF_F_HW_VLAN_CTAG_TX)
279 if (proto == htons(ETH_P_8021AD) && features & NETIF_F_HW_VLAN_STAG_TX)
448 __be16 proto, *protop; local
451 sizeof(proto), &proto);
274 vlan_hw_offload_capable(netdev_features_t features, __be16 proto) argument
462 __be16 proto; local
[all...]
/include/uapi/linux/netfilter/
H A Dxt_ecn.h32 } proto; member in struct:xt_ecn_info
H A Dxt_policy.h23 proto:1, member in struct:xt_policy_spec
56 __u8 proto; member in struct:xt_policy_elem
/include/uapi/linux/netfilter_ipv4/
H A Dipt_ECN.h30 } proto; member in struct:ipt_ECN_info
H A Dip_tables.h78 __u16 proto; member in struct:ipt_ip
/include/net/
H A Dip6_checksum.h40 __u32 len, unsigned short proto,
44 static inline __wsum ip6_compute_pseudo(struct sk_buff *skb, int proto) argument
48 skb->len, proto, 0));
51 static inline __wsum ip6_gro_compute_pseudo(struct sk_buff *skb, int proto) argument
56 skb_gro_len(skb), proto, 0));
105 int udp6_csum_init(struct sk_buff *skb, struct udphdr *uh, int proto);
H A Dip6_tunnel.h21 __u8 proto; /* tunnel protocol */ member in struct:__ip6_tnl_parm
H A Dgarp.h95 struct stp_proto proto; member in struct:garp_application
H A Dip_tunnels.h104 __be16 proto; member in struct:tnl_ptk_info
178 __be32 src, __be32 dst, __u8 proto,
H A Droute.h138 __u8 proto, __u8 tos, int oif)
141 RT_SCOPE_UNIVERSE, proto,
134 ip_route_output_ports(struct net *net, struct flowi4 *fl4, struct sock *sk, __be32 daddr, __be32 saddr, __be16 dport, __be16 sport, __u8 proto, __u8 tos, int oif) argument
/include/uapi/linux/
H A Dip6_tunnel.h25 __u8 proto; /* tunnel protocol */ member in struct:ip6_tnl_parm
37 __u8 proto; /* tunnel protocol */ member in struct:ip6_tnl_parm2
H A Dnfs4_mount.h51 int proto; /* 1 */ member in struct:nfs4_mount_data
H A Dif_arcnet.h60 __u8 proto; /* protocol ID field - varies */ member in struct:arc_rfc1201
72 __u8 proto; /* ARC_P_RFC1051_ARP/RFC1051_IP */ member in struct:arc_rfc1051
83 __u8 proto; /* Always ARC_P_ETHER */ member in struct:arc_eth_encap
91 __u8 proto; member in struct:arc_cap
H A Dif_tun.h91 __be16 proto; member in struct:tun_pi
/include/net/netfilter/
H A Dnf_conntrack_l4proto.h31 /* Invert the per-proto part of the tuple: ie. turn xmit into reply.
100 int (*init_net)(struct net *net, u_int16_t proto);
126 struct nf_conntrack_l4proto *proto);
128 struct nf_conntrack_l4proto *proto);
131 int nf_ct_l4proto_register(struct nf_conntrack_l4proto *proto);
132 void nf_ct_l4proto_unregister(struct nf_conntrack_l4proto *proto);
151 #define LOG_INVALID(net, proto) \
152 ((net)->ct.sysctl_log_invalid == (proto) || \
155 static inline int LOG_INVALID(struct net *net, int proto) { return 0; } argument
H A Dnf_conntrack.h31 /* insert conntrack proto private data here */
39 /* insert expect proto private data here */
116 union nf_conntrack_proto proto; member in struct:nf_conn
/include/linux/netfilter/
H A Dx_tables.h138 unsigned short proto; member in struct:xt_match
178 unsigned short proto; member in struct:xt_target
242 int xt_check_match(struct xt_mtchk_param *, unsigned int size, u_int8_t proto,
244 int xt_check_target(struct xt_tgchk_param *, unsigned int size, u_int8_t proto,
/include/scsi/
H A Dscsi_transport_sas.h13 static inline int sas_protocol_ata(enum sas_protocol proto) argument
15 return ((proto & SAS_PROTOCOL_SATA) ||
16 (proto & SAS_PROTOCOL_STP))? 1 : 0;
/include/uapi/linux/netfilter_ipv6/
H A Dip6_tables.h78 __u16 proto; member in struct:ip6t_ip6

Completed in 485 milliseconds

12