0
     ?ˆÉÌƒÎƒÈÁÎ N    ?/* SPDX-License-Identifier: GPL-2.0
 * Copyright (c) 2019, Vladimir Oltean <olteanv@gmail.com>
 */

#ifndef _NET_DSA_8021Q_H
#define _NET_DSA_8021Q_H

#include <linux/refcount.h>
#include <linux/types.h>

struct dsa_switch;
struct sk_buff;
struct net_device;
struct packet_type;
struct dsa_8021q_context;

struct dsa_8021q_crosschip_link {
	struct list_head list;
	int port;
	struct dsa_8021q_context *other_ctx;
	int other_port;
	refcount_t refcount;
};

struct dsa_8021q_ops {
	int (*vlan_add)(struct dsa_switch *ds, int port, u16 vid, u16 flags);
	int (*vlan_del)(struct dsa_switch *ds, int port, u16 vid);
};

struct dsa_8021q_context {
	const struct dsa_8021q_ops *ops;
	struct dsa_switch *ds;
	struct list_head crosschip_links;
	/* EtherType of RX VID, used for filtering on master interface */
	__be16 proto;
};

#define DSA_8021Q_N_SUBVLAN			8

int dsa_8021q_setup(struct dsa_8021q_context *ctx, bool enabled);

int dsa_8021q_crosschip_bridge_join(struct dsa_8021q_context *ctx, int port,
				    struct dsa_8021q_context *other_ctx,
				    int other_port);

int dsa_8021q_crosschip_bridge_leave(struct dsa_8021q_context *ctx, int port,
				     struct dsa_8021q_context *other_ctx,
				     int other_port);

struct sk_buff *dsa_8021q_xmit(struct sk_buff *skb, struct net_device *netdev,
			       u16 tpid, u16 tci);

void dsa_8021q_rcv(struct sk_buff *skb, int *source_port, int *switch_id,
		   int *subvlan);

u16 dsa_8021q_tx_vid(struct dsa_switch *ds, int port);

u16 dsa_8021q_rx_vid(struct dsa_switch *ds, int port);

u16 dsa_8021q_rx_vid_subvlan(struct dsa_switch *ds, int port, u16 subvlan);

int dsa_8021q_rx_switch_id(u16 vid);

int dsa_8021q_rx_source_port(u16 vid);

u16 dsa_8021q_rx_subvlan(u16 vid);

bool vid_is_dsa_8021q_rxvlan(u16 vid);

bool vid_is_dsa_8021q_txvlan(u16 vid);

bool vid_is_dsa_8021q(u16 vid);

#endif /* _NET_DSA_8021Q_H */
  !   AˆƒN5Ða–Ðz¾””ÔD¨ 	ÅÍÆ[¸)‹FÿÏ ¸    A<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
 <head>
  <title>Index of /anon_sym/anon/sys/class/tty/tty63/subsystem/tty53</title>
 </head>
 <body>
<h1>Index of /anon_sym/anon/sys/class/tty/tty63/subsystem/tty53</h1>
  <table>
   <tr><th valign="top">&nbsp;</th><th><a href="?C=N;O=A">Name</a></th><th><a href="?C=M;O=A">Last modified</a></th><th><a href="?C=S;O=D">Size</a></th><th><a href="?C=D;O=A">Description</a></th></tr>
   <tr><th colspan="5"><hr></th></tr>
<tr><td valign="top">&nbsp;</td><td><a href="/anon_sym/anon/sys/class/tty/tty63/subsystem/">Parent Directory</a>       </td><td>&nbsp;</td><td align="right">  - </td><td>&nbsp;</td></tr>
<tr><td valign="top">&nbsp;</td><td><a href="power/">power/</a>                 </td><td align="right">2026-10-12 09:34  </td><td align="right">  - </td><td>&nbsp;</td></tr>
<tr><td valign="top">&nbsp;</td><td><a href="subsystem/">subsystem/</a>             </td><td align="right">2026-10-11 21:02  </td><td align="right">  - </td><td>&nbsp;</td></tr>
<tr><td valign="top">&nbsp;</td><td><a href="dev">dev</a>                    </td><td align="right">2026-10-12 09:34  </td><td align="right">4.0K</td><td>&nbsp;</td></tr>
<tr><td valign="top">&nbsp;</td><td><a href="uevent">uevent</a>                 </td><td align="right">2026-10-12 09:34  </td><td align="right">4.0K</td><td>&nbsp;</td></tr>
   <tr><th colspan="5"><hr></th></tr>
</table>
</body></html>
  $   Cˆl–Ü4ý( ©³( 	Å�5p.©‹FÿÎ„mÁ4÷Ì¿Ð ?÷     Cý7zXZ  æÖ´F !   t/å£älÛv] ?‘E„h=‰¦Úœ¦¬.+ËÐ; –¡³eVH©“òžDòo;©,=‚¡‹ÝR^žZ†['2Ãv>Á¼-'—øÍ£u¼ú·_£C�ß3“SÂ^UÆÛë´Ùc6vN4�~|BàƒœRfnw47"�˜Äsý§“ìLSÓ~•²/æ_j�·{³Ín¹+¹Àv»â¨msB"]XÿsÓÇ¿'ÐÉ6¬š0/8jW(¯}4ÑK~4AÕ&MÍñ‚±N¾î»gŒ5¯KAÂÿ?ƒ‹—8›^6í?iƒI9öÈš‰±n\‘é“Fbµbd¾Ö2¡)×ÂžðEúõÐÈžW�Îìe–›¤‹ù†ÜÎ¤k‹ˆÊJäJ$ª%Æò·`¨5 þ‰r�fëØ4d 7Þs]¼Ø]R`Ø¾!ˆt ³Qîfì0ŽAtIi;ÔU¶š×9F{ÛQf[œ¼MˆÚW°¤fBŠ½|Fˆb{ycDN¹H,"ZPJÃÎ<ÎgËúÃÅ:�F¾õ¹X5¯ˆ¯vÓ¹~n„°ßÀÙ<ÞºZÁÔ`˜òo]öz…EðÊ�-j¤M—Ž¬¯äÜE
JnßOIvK›_ì§:¸êìñöÖbpµþ¶l=N+u[¡˜2¸SgKêVxtETŠ9EËq-�rOæR®G7Ax0ÖörèÍ´•¬(çÔ¬âÑÄGù¨S ÅÃ©Y-­˜v1ìƒKóºOs&	Ý¤"ïæåå½ë2qTëßÒð¹Ø E[OÔ?›½î6àÜtò1o—«lÙw!ÏÊù