proto_ops
static const struct proto_ops alg_proto_ops = {
static struct proto_ops algif_aead_ops = {
static struct proto_ops algif_aead_ops_nokey = {
static struct proto_ops algif_hash_ops = {
static struct proto_ops algif_hash_ops_nokey = {
static struct proto_ops algif_rng_ops = {
static struct proto_ops __maybe_unused algif_rng_test_ops = {
static struct proto_ops algif_skcipher_ops = {
static struct proto_ops algif_skcipher_ops_nokey = {
h_adapter->proto_ops = ops;
struct rsi_proto_ops *proto_ops;
return h_adapter->proto_ops->coex_send_pkt(h_adapter->priv, skb,
static const struct proto_ops data_sock_ops = {
static const struct proto_ops base_sock_ops = {
const struct felix_tag_proto_ops *proto_ops,
mask = proto_ops->get_host_fwd_mask(ds);
const struct felix_tag_proto_ops *proto_ops,
to = proto_ops->get_host_fwd_mask(ds);
const struct felix_tag_proto_ops *proto_ops,
bool using_tag_8021q = (proto_ops == &felix_tag_8021q_proto_ops);
err = felix_migrate_mdbs(ds, proto_ops, old_proto_ops);
felix_migrate_host_flood(ds, proto_ops, old_proto_ops);
const struct felix_tag_proto_ops *old_proto_ops, *proto_ops;
proto_ops = &felix_tag_npi_proto_ops;
proto_ops = &felix_tag_8021q_proto_ops;
if (proto_ops == old_proto_ops)
err = proto_ops->setup(ds);
err = felix_tag_proto_setup_shared(ds, proto_ops, old_proto_ops);
felix->tag_proto_ops = proto_ops;
proto_ops->teardown(ds);
const struct proto_ops *ops;
static struct proto_ops ovpn_tcp_ops __ro_after_init;
static struct proto_ops ovpn_tcp6_ops __ro_after_init;
struct proto_ops *new_ops,
const struct proto_ops *orig_ops);
struct proto_ops *new_ops,
const struct proto_ops *orig_ops)
static const struct proto_ops pppoe_ops = {
static const struct proto_ops pppoe_ops;
static const struct proto_ops pptp_ops;
static const struct proto_ops pptp_ops = {
static const struct proto_ops tap_socket_ops = {
static const struct proto_ops tap_socket_ops;
static const struct proto_ops tun_socket_ops = {
struct proto_ops *ops;
struct proto_ops *ops_nokey;
const struct proto_ops *ops;
const struct proto_ops *ops; /* Might change with IPV6_ADDRFORM or MPTCP. */
extern const struct proto_ops inet_stream_ops;
extern const struct proto_ops inet_dgram_ops;
extern const struct proto_ops inet6_stream_ops;
extern const struct proto_ops inet6_dgram_ops;
extern const struct proto_ops inet6_sockraw_ops;
extern const struct proto_ops phonet_stream_ops;
extern const struct proto_ops phonet_dgram_ops;
const struct proto_ops *ops;
const struct proto_ops *ops;
static const struct proto_ops atalk_dgram_ops = {
static const struct proto_ops atalk_dgram_ops;
static const struct proto_ops pvc_proto_ops = {
static const struct proto_ops svc_proto_ops = {
static const struct proto_ops ax25_proto_ops = {
static const struct proto_ops ax25_proto_ops;
static const struct proto_ops bnep_sock_ops = {
static const struct proto_ops cmtp_sock_ops = {
static const struct proto_ops hci_sock_ops = {
static const struct proto_ops hidp_sock_ops = {
static const struct proto_ops iso_sock_ops;
static const struct proto_ops iso_sock_ops = {
static const struct proto_ops l2cap_sock_ops = {
static const struct proto_ops l2cap_sock_ops;
static const struct proto_ops rfcomm_sock_ops = {
static const struct proto_ops rfcomm_sock_ops;
static const struct proto_ops sco_sock_ops = {
static const struct proto_ops sco_sock_ops;
static const struct proto_ops caif_seqpacket_ops = {
static const struct proto_ops caif_stream_ops = {
static const struct proto_ops bcm_ops = {
static const struct proto_ops isotp_ops = {
static const struct proto_ops j1939_ops = {
static const struct proto_ops raw_ops = {
const struct proto_ops *ops = READ_ONCE(sock->ops);
const struct proto_ops *ops = NULL;
hsr->proto_ops->send_sv_frame(master, &interval, master->dev->dev_addr);
hsr->proto_ops->send_sv_frame(interlink, &interval,
hsr->proto_ops = &prp_ops;
hsr->proto_ops = &hsr_ops;
hsr->proto_ops->register_frame_out &&
hsr->proto_ops->register_frame_out(port, frame))
if (hsr->proto_ops->drop_frame &&
hsr->proto_ops->drop_frame(frame, port))
skb = hsr->proto_ops->create_tagged_frame(frame, port);
skb = hsr->proto_ops->get_untagged_frame(frame, port);
ret = hsr->proto_ops->fill_frame_info(proto, skb, frame);
if (san && hsr->proto_ops->handle_san_frame)
hsr->proto_ops->handle_san_frame(san, rx_port, new_node);
if (hsr->proto_ops->update_san_info)
hsr->proto_ops->update_san_info(node, is_sup);
if (hsr->proto_ops->update_san_info)
hsr->proto_ops->update_san_info(node, is_sup);
if (hsr->proto_ops->update_san_info)
hsr->proto_ops->update_san_info(node, is_sup);
struct hsr_proto_ops *proto_ops;
hsr->proto_ops->invalid_dan_ingress_frame &&
hsr->proto_ops->invalid_dan_ingress_frame(protocol))
const struct proto_ops *ops;
static const struct proto_ops ieee802154_raw_ops = {
static const struct proto_ops ieee802154_dgram_ops = {
const struct proto_ops inet_stream_ops = {
const struct proto_ops inet_dgram_ops = {
static const struct proto_ops inet_sockraw_ops = {
const struct proto_ops inet6_stream_ops = {
const struct proto_ops inet6_dgram_ops = {
const struct proto_ops inet6_sockraw_ops = {
static const struct proto_ops iucv_sock_ops = {
static const struct proto_ops kcm_dgram_ops = {
static const struct proto_ops kcm_seqpacket_ops = {
static const struct proto_ops pfkey_ops;
static const struct proto_ops pfkey_ops = {
static const struct proto_ops l2tp_ip_ops = {
static const struct proto_ops l2tp_ip6_ops = {
static const struct proto_ops pppol2tp_ops;
static const struct proto_ops pppol2tp_ops = {
static const struct proto_ops llc_ui_ops = {
static const struct proto_ops llc_ui_ops;
static const struct proto_ops mctp_dgram_ops = {
const struct proto_ops *ops;
static const struct proto_ops mptcp_stream_ops = {
static const struct proto_ops mptcp_v6_stream_ops = {
static const struct proto_ops *mptcp_fallback_tcp_ops(const struct sock *sk)
static const struct proto_ops netlink_ops = {
static const struct proto_ops netlink_ops;
static const struct proto_ops nr_proto_ops = {
static const struct proto_ops nr_proto_ops;
static const struct proto_ops llcp_sock_ops = {
static const struct proto_ops llcp_rawsock_ops = {
static const struct proto_ops rawsock_ops = {
static const struct proto_ops rawsock_raw_ops = {
static const struct proto_ops packet_ops;
static const struct proto_ops packet_ops_spkt;
static const struct proto_ops packet_ops_spkt = {
static const struct proto_ops packet_ops = {
const struct proto_ops phonet_dgram_ops = {
const struct proto_ops phonet_stream_ops = {
static const struct proto_ops qrtr_proto_ops = {
static const struct proto_ops rds_proto_ops = {
static const struct proto_ops rose_proto_ops = {
static const struct proto_ops rose_proto_ops;
static const struct proto_ops rxrpc_rpc_ops = {
static const struct proto_ops rxrpc_rpc_ops;
static const struct proto_ops inet6_seqpacket_ops = {
static const struct proto_ops inet_seqpacket_ops = {
static const struct proto_ops smc_sock_ops = {
static const struct proto_ops smc_inet_stream_ops = {
static const struct proto_ops smc_inet6_stream_ops = {
const struct proto_ops *ops;
const struct proto_ops *ops;
const struct proto_ops *ops = READ_ONCE(sock->ops);
const struct proto_ops *ops;
const struct proto_ops *ops = READ_ONCE(sock->ops);
const struct proto_ops *ops = READ_ONCE(sock->ops);
const struct proto_ops *ops;
const struct proto_ops *ops;
const struct proto_ops *ops;
const struct proto_ops *ops;
const struct proto_ops *ops = READ_ONCE(sock->ops);
const struct proto_ops *ops = READ_ONCE(sock->ops);
const struct proto_ops *ops = READ_ONCE(sock->ops);
static const struct proto_ops packet_ops;
static const struct proto_ops stream_ops;
static const struct proto_ops msg_ops;
static const struct proto_ops msg_ops = {
static const struct proto_ops packet_ops = {
static const struct proto_ops stream_ops = {
const struct proto_ops *ops;
static struct proto_ops tls_proto_ops[TLS_NUM_PROTS][TLS_NUM_CONFIG][TLS_NUM_CONFIG];
static void build_proto_ops(struct proto_ops ops[TLS_NUM_CONFIG][TLS_NUM_CONFIG],
const struct proto_ops *base)
static const struct proto_ops unix_seqpacket_ops = {
static const struct proto_ops unix_stream_ops = {
static const struct proto_ops unix_dgram_ops = {
const struct proto_ops *ops;
static const struct proto_ops vsock_dgram_ops = {
static const struct proto_ops vsock_stream_ops = {
static const struct proto_ops vsock_seqpacket_ops = {
static const struct proto_ops x25_proto_ops = {
static const struct proto_ops x25_proto_ops;
static const struct proto_ops xsk_proto_ops = {
static struct proto_ops espintcp_ops __ro_after_init;
static struct proto_ops espintcp6_ops;
struct proto_ops *espintcp_ops,
const struct proto_ops *orig_ops);
struct proto_ops *espintcp_ops,
const struct proto_ops *orig_ops)
memcpy(espintcp_ops, orig_ops, sizeof(struct proto_ops));