JPH1051480A - Protocol processing system for gateway equipment - Google Patents

Protocol processing system for gateway equipment

Info

Publication number
JPH1051480A
JPH1051480A JP8201808A JP20180896A JPH1051480A JP H1051480 A JPH1051480 A JP H1051480A JP 8201808 A JP8201808 A JP 8201808A JP 20180896 A JP20180896 A JP 20180896A JP H1051480 A JPH1051480 A JP H1051480A
Authority
JP
Japan
Prior art keywords
protocol
header
signal
unit
received frame
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP8201808A
Other languages
Japanese (ja)
Inventor
Yasushi Kurokawa
康司 黒川
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ultra High Speed Network and Computer Technology Laboratories
Original Assignee
Ultra High Speed Network and Computer Technology Laboratories
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ultra High Speed Network and Computer Technology Laboratories filed Critical Ultra High Speed Network and Computer Technology Laboratories
Priority to JP8201808A priority Critical patent/JPH1051480A/en
Publication of JPH1051480A publication Critical patent/JPH1051480A/en
Pending legal-status Critical Current

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Small-Scale Networks (AREA)
  • Communication Control (AREA)

Abstract

PROBLEM TO BE SOLVED: To realize high speed protocol processing. SOLUTION: A protocol identification section 3 outputs a protocol act signal PT when a reception frame is a frame of a protocol of a processing object. A header check section 7 and a check sum calculation check section 10 in a protocol processing section 6 check validity of a reception frame when the protocol act signal PT is received. Simultaneously, a routing table retrieval section 11 decides a transfer destination of the reception frame. Thus, the protocol processing of the gateway equipment is conducted in parallel and processed by the hardware, then the processing time for the protocol processing is remarkably reduced.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、ネットワーク間を
接続するゲートウェイ装置に関し、特に受信フレームの
プロトコル処理を行うゲートウェイ装置のプロトコル処
理方式に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a gateway device for connecting networks, and more particularly, to a protocol processing method of a gateway device for performing protocol processing of a received frame.

【0002】[0002]

【従来の技術】近年の情報通信の高速化に伴い、ゲート
ウェイ装置における処理速度の向上が要求されている。
ゲートウェイ装置におけるプロトコル処理は、受信した
フレームについて幾種かの正当性をチェックする処理
と、フレームの転送先を求めるルーティング処理とから
なる。そして、これらの処理は単一のCPUプロセッサ
によってソフトウェア処理されるのが一般的であり、こ
れによりシリアル処理が発生する。
2. Description of the Related Art With the recent increase in the speed of information communication, there is a demand for an improvement in processing speed in a gateway device.
The protocol process in the gateway device includes a process of checking the received frame for some validity and a routing process for finding a transfer destination of the frame. In general, these processes are performed by software by a single CPU processor, whereby serial processing occurs.

【0003】[0003]

【発明が解決しようとする課題】以上のように従来のゲ
ートウェイ装置では、単一のCPUプロセッサによるソ
フトウェア処理によって複数の処理からなるプロトコル
処理を行っていたため、処理時間がかかり、ゲートウェ
イ装置全体としての処理速度を低下させてしまうという
問題点があった。本発明は、上記課題を解決するために
なされたもので、プロトコル処理の高速化を実現するこ
とができるプロトコル処理方式を提供することを目的と
する。
As described above, in the conventional gateway device, since a protocol processing including a plurality of processes is performed by software processing by a single CPU processor, it takes a long processing time, and the entire gateway device takes a long time. There is a problem that the processing speed is reduced. The present invention has been made to solve the above problems, and has as its object to provide a protocol processing method capable of realizing high-speed protocol processing.

【0004】[0004]

【課題を解決するための手段】本発明は、請求項1に記
載のように、ネットワークから受信したフレームが処理
対象のプロトコルのフレームかどうかを識別し、処理対
象のプロトコルのフレームであるときはプロトコルアク
ト信号を出力するプロトコル識別部と、プロトコルアク
ト信号が入力されたときに、受信フレームの正当性をチ
ェックすると共に受信フレームの転送先を決定するプロ
トコル処理部とを有するものである(実施の形態の1、
3)。また、請求項2に記載のように、ネットワークか
ら受信したフレームが処理対象のプロトコルのフレーム
かどうかを識別し、処理対象のプロトコルのフレームで
あるときはプロトコルアクト信号を出力するプロトコル
識別部と、受信フレームの正当性をチェックすると共に
受信フレームの転送先を決定し、正当性のチェック結果
をプロトコルアクト信号が入力されたときに出力するプ
ロトコル処理部とを有するものである(実施の形態の
2、4)。
According to the present invention, as described in claim 1, whether a frame received from a network is a frame of a protocol to be processed is determined. A protocol identification unit that outputs a protocol act signal; and a protocol processing unit that, when the protocol act signal is input, checks the validity of the received frame and determines a transfer destination of the received frame. Form 1,
3). Also, as described in claim 2, a protocol identification unit that identifies whether a frame received from the network is a frame of a protocol to be processed, and outputs a protocol act signal when the frame is a frame of a protocol to be processed, A protocol processing unit that checks the validity of the received frame, determines the transfer destination of the received frame, and outputs a result of the validity check when a protocol act signal is input (second embodiment) 4).

【0005】また、請求項3に記載のように、プロトコ
ル識別部は、受信フレームのヘッダを保持するためのヘ
ッダ保持レジスタと、プロトコルを識別するための所定
値とレジスタで保持されたヘッダを比較して、一致した
ときにプロトコルアクト信号を出力する比較回路とから
なるものである(実施の形態の1、2、3)。また、請
求項4に記載のように、プロトコル識別部は、受信フレ
ームとプロトコルを識別するための所定値を常時比較す
る比較回路と、この比較回路による比較一致結果を保持
して、プロトコルアクト信号として出力するフリップフ
ロップ回路とからなるものである(実施の形態の4)。
According to a third aspect of the present invention, the protocol identifying unit compares a header holding register for holding a header of the received frame with a predetermined value for identifying the protocol and the header held by the register. And a comparison circuit that outputs a protocol act signal when they match (1, 2, and 3 of the embodiment). According to a fourth aspect of the present invention, the protocol identification unit includes a comparison circuit that constantly compares a received frame with a predetermined value for identifying a protocol, and a comparison match result obtained by the comparison circuit. (Fourth embodiment).

【0006】また、請求項5に記載のように、プロトコ
ル処理部は、受信フレームのヘッダを保持するためのヘ
ッダ保持レジスタ、及びプロトコルアクト信号が入力さ
れたときに、ヘッダの正当性をチェックするための正当
値とレジスタで保持されたヘッダを比較して、比較結果
信号を出力するチェック部からなるヘッダチェック部
と、受信フレームのヘッダのチェックサムを計算し、プ
ロトコルアクト信号が入力されたときに、受信フレーム
中のチェックサム値と計算値を比較して、比較結果信号
を出力するチェックサム計算チェック部と、プロトコル
アクト信号が入力されたときに、受信フレームの送信先
アドレスに対応する転送先情報を求めると共に、送信先
アドレスが登録されていない場合はテーブルエラー信号
を出力するルーティングテーブル検索部とからなるもの
である(実施の形態の1)。また、請求項6に記載のよ
うに、プロトコル処理部は、プロトコルアクト信号が入
力されると、受信フレームのヘッダの正当性をチェック
するための正当値と受信フレームをヘッダのタイミング
で比較して、比較結果信号を出力するヘッダチェック部
と、受信フレームのヘッダのチェックサムを計算し、プ
ロトコルアクト信号が入力されたときに、受信フレーム
中のチェックサム値と計算値を比較して、比較結果信号
を出力するチェックサム計算チェック部と、プロトコル
アクト信号が入力されたときに、受信フレームの送信先
アドレスに対応する転送先情報を求めると共に、送信先
アドレスが登録されていない場合はテーブルエラー信号
を出力するルーティングテーブル検索部と、ヘッダチェ
ック部及びチェックサム計算チェック部からの比較結果
信号、並びにルーティングテーブル検索部からのテーブ
ルエラー信号を保持するフリップフロップ回路とからな
るものである(実施の形態の3)。
According to a fifth aspect of the present invention, the protocol processing unit checks the validity of the header when a header holding register for holding the header of the received frame and a protocol act signal are input. When a protocol act signal is input, a header check unit consisting of a check unit that outputs a comparison result signal and a header checksum of a received frame are calculated by comparing the valid value for the header held in the register. A checksum calculation check unit that compares the checksum value in the received frame with the calculated value and outputs a comparison result signal; and when a protocol act signal is input, a transfer corresponding to the destination address of the received frame. A routine that calculates destination information and outputs a table error signal if the destination address is not registered. It is made of a grayed table search portion (1 embodiment). Further, as described in claim 6, when the protocol act signal is input, the protocol processing unit compares the received frame with a valid value for checking the validity of the header of the received frame at the timing of the header. Calculates the checksum of the header of the received frame with the header checker that outputs the comparison result signal, and compares the calculated value with the checksum value in the received frame when the protocol act signal is input. A checksum calculation check unit that outputs a signal, and when a protocol act signal is input, obtains transfer destination information corresponding to a destination address of a received frame, and, if the destination address is not registered, a table error signal. Output from the routing table search unit, the header check unit and the checksum calculation check unit. Compare result signal, and is made of a flip-flop circuit for holding a table error signal from the routing table search unit (third embodiment).

【0007】また、請求項7に記載のように、プロトコ
ル処理部は、受信フレームのヘッダを保持するためのヘ
ッダ保持レジスタ、及びヘッダの正当性をチェックする
ための正当値とレジスタで保持されたヘッダを比較し
て、比較結果信号を出力するチェック部からなるヘッダ
チェック部と、受信フレームのヘッダのチェックサムを
計算し、受信フレーム中のチェックサム値と計算値を比
較して、比較結果信号を出力するチェックサム計算チェ
ック部と、受信フレームの送信先アドレスに対応する転
送先情報を求めると共に、送信先アドレスが登録されて
いない場合はテーブルエラー信号を出力するルーティン
グテーブル検索部と、ヘッダチェック部及びチェックサ
ム計算チェック部からの比較結果信号、並びにルーティ
ングテーブル検索部からのテーブルエラー信号をプロト
コルアクト信号が入力されたときに出力するゲート回路
とからなるものである(実施の形態の2)。また、請求
項8に記載のように、プロトコル処理部は、受信フレー
ムのヘッダの正当性をチェックするための正当値と受信
フレームをヘッダのタイミングで比較して、比較結果信
号を出力するヘッダチェック部と、受信フレームのヘッ
ダのチェックサムを計算し、受信フレーム中のチェック
サム値と計算値を比較して、比較結果信号を出力するチ
ェックサム計算チェック部と、受信フレームの送信先ア
ドレスに対応する転送先情報を求めると共に、送信先ア
ドレスが登録されていない場合はテーブルエラー信号を
出力するルーティングテーブル検索部と、ヘッダチェッ
ク部及びチェックサム計算チェック部からの比較結果信
号、並びにルーティングテーブル検索部からのテーブル
エラー信号を保持するフリップフロップ回路と、このフ
リップフロップ回路からの比較結果信号及びテーブルエ
ラー信号をプロトコルアクト信号が入力されたときに出
力するゲート回路とからなるものである(実施の形態の
4)。
Further, the protocol processing unit has a header holding register for holding the header of the received frame and a valid value and a register for checking the validity of the header. A header checker comprising a checker for comparing the headers and outputting a comparison result signal, calculates a checksum of the header of the received frame, compares the checksum value in the received frame with the calculated value, and outputs a comparison result signal. A routing table search unit for obtaining transfer destination information corresponding to the destination address of the received frame, and outputting a table error signal when the destination address is not registered, and a header check. Unit and a comparison result signal from the checksum calculation check unit, and a routing table search unit It is made of a gate circuit which outputs when La table error signal protocol act signal is input (2 embodiment). According to another aspect of the present invention, the protocol processing unit compares the received frame with a valid value for checking the validity of the header of the received frame at the timing of the header, and outputs a comparison result signal. Checksum calculation section that calculates the checksum of the header of the received frame, compares the checksum value in the received frame with the calculated value, and outputs a comparison result signal, and corresponds to the destination address of the received frame. A routing table search unit for obtaining transfer destination information to be transmitted and outputting a table error signal when a destination address is not registered, a comparison result signal from a header check unit and a checksum calculation check unit, and a routing table search unit And a flip-flop circuit holding a table error signal from the It is made of a gate circuit for outputting when the protocol activation signal comparison result signal and the table error signal from the drop circuit is input (fourth embodiment).

【0008】[0008]

【発明の実施の形態】図1は本発明の第1の実施の形態
を示すゲートウェイ装置におけるプロトコル処理装置の
ブロック図、図2はこのプロトコル処理装置の動作を説
明するためのタイミングチャート図である。ネットワー
クインタフェース部1は、図示しないネットワークより
フレームを受信する。ゲートウェイ装置が接続されるネ
ットワークでは、複数の異なるプロトコルのフレームが
転送されるため、ゲートウェイ装置が処理対象とするプ
ロトコルのフレームかどうかを識別する必要がある。こ
のような識別を行うのが、プロトコル処理装置2内のプ
ロトコル識別部3である。
FIG. 1 is a block diagram of a protocol processing device in a gateway device according to a first embodiment of the present invention, and FIG. 2 is a timing chart for explaining the operation of the protocol processing device. . The network interface unit 1 receives a frame from a network (not shown). In a network to which the gateway device is connected, frames of a plurality of different protocols are transferred, so it is necessary to identify whether or not the frame is a protocol of a processing target of the gateway device. The protocol identification unit 3 in the protocol processing device 2 performs such identification.

【0009】本実施の形態では、ゲートウェイ装置の処
理対象のフレームとして、IP(Internet Protocol )
プロトコルのフレームを例にとって説明する。図3はイ
ーサネット(Ethernet)形式のIPフレームフォーマッ
トのうち、ヘッダ情報の部分を示す図であり、横方向の
サイズは32ビットである。また、H0〜H8はヘッダ
番号である。
In this embodiment, an IP (Internet Protocol) is used as a frame to be processed by the gateway device.
A description will be given using a protocol frame as an example. FIG. 3 is a diagram showing a header information portion in the IP frame format of the Ethernet (Ethernet) format, and the size in the horizontal direction is 32 bits. H0 to H8 are header numbers.

【0010】図3において、101は物理層送信先アド
レス(Destination Address)が格納されるフィール
ド、102は物理層送信元アドレス(Source Address
)が格納されるフィールド、103はプロトコル識別
子が格納されるフィールド、104はIPバージョン
(Version )が格納されるフィールド、105はヘッダ
長(Header Length )が格納されるフィールド、106
はサービスタイプ(Type ofService )が格納されるフ
ィールド、107はヘッダとIPフレームデータを加え
た全長(Total Length)が格納されるフィールド、10
8は識別番号(Identification)が格納されるフィール
ドである。
In FIG. 3, reference numeral 101 denotes a field in which a physical layer destination address (Destination Address) is stored, and 102 denotes a physical layer source address (Source Address).
), 103 is a field for storing a protocol identifier, 104 is a field for storing an IP version (Version), 105 is a field for storing a header length, and 106 is a field for storing a header length.
Is a field storing a service type (Type of Service); 107 is a field storing a total length (Total Length) including a header and IP frame data;
A field 8 stores an identification number (Identification).

【0011】また、109はフラグメント(Fragment O
ffset )が格納されるフィールド、110はTTL(Ti
me to Live)が格納されるフィールド、111はプロト
コル番号(Protocol)が格納されるフィールド、112
はヘッダ・チェックサム(Header Checksum )が格納さ
れるフィールド、113はIP送信元アドレス(Source
Address )が格納されるフィールド、114はIP送
信先アドレス(Destination Address)が格納されるフ
ィールドである。
[0011] In addition, 109 is a fragment (Fragment O).
ffset) is stored in the field 110, and TTL (Ti
me to Live), a field 111 stores a protocol number (Protocol), 112
Is a field in which a header checksum is stored, and 113 is an IP source address (Source).
Address) is a field in which an IP destination address (Destination Address) is stored.

【0012】本実施の形態では、ネットワークインタフ
ェース部1から32ビット幅のデータバス18によって
図2(c)のように受信フレームがメモリ17へ順次転
送される。インタフェース部1は、データバス18上を
データが転送されていることを示す図2(b)のような
転送インジケータを出力する。そして、この転送インジ
ケータが「1」になると、タイミング生成部15は、フ
レームのデータ数のカウントを開始し、データバス18
上を流れているフレームから必要なヘッダを取り込むた
めのアクト信号を生成する。
In this embodiment, received frames are sequentially transferred from the network interface unit 1 to the memory 17 as shown in FIG. The interface unit 1 outputs a transfer indicator as shown in FIG. 2B indicating that data is being transferred on the data bus 18. Then, when the transfer indicator becomes “1”, the timing generation unit 15 starts counting the number of data in the frame, and
Generates an act signal for taking in a necessary header from a frame flowing above.

【0013】まず、タイミング生成部15は、図2
(e)のようなアクト信号T0を生成する。アクト信号
T0が入力されると、プロトコル識別部3内のヘッダ保
持レジスタ4−1は、図2(a)に示すクロックの立ち
上がりでインタフェース部1からの転送データを保持す
る。これにより、図2(f)に示すようにヘッダH0が
保持される。
First, the timing generator 15
An act signal T0 as shown in (e) is generated. When the act signal T0 is input, the header holding register 4-1 in the protocol identifying unit 3 holds the transfer data from the interface unit 1 at the rising edge of the clock shown in FIG. As a result, the header H0 is held as shown in FIG.

【0014】次いで、タイミング生成部15は、図2
(g)のようなアクト信号T1を生成する。アクト信号
T1が入力されると、ヘッダ保持レジスタ4−2は、ク
ロックの立ち上がりでインタフェース部1からの転送デ
ータを保持する。これにより、図2(h)に示すように
ヘッダH1が保持される。同様に、タイミング生成部1
5は、図2(i)のようなアクト信号T3を生成する。
アクト信号T3が入力されると、ヘッダ保持レジスタ4
−3は、クロックの立ち上がりでインタフェース部1か
らの転送データを保持する。これにより、図2(j)に
示すようにヘッダH3が保持される。
Next, the timing generation unit 15
An act signal T1 as shown in (g) is generated. When the act signal T1 is input, the header holding register 4-2 holds the transfer data from the interface unit 1 at the rise of the clock. As a result, the header H1 is held as shown in FIG. Similarly, the timing generator 1
5 generates an act signal T3 as shown in FIG.
When the act signal T3 is input, the header holding register 4
-3 holds the transfer data from the interface unit 1 at the rise of the clock. As a result, the header H3 is held as shown in FIG.

【0015】比較回路5は、ヘッダ保持レジスタ4−
1、4−2で保持されたヘッダH0及びヘッダのH1の
上位16ビット(つまり、物理層送信先アドレス)を予
め決められた値と比較すると共に、ヘッダ保持レジスタ
4−3で保持されたヘッダH3の上位16ビット(プロ
トコル識別子)を予め決められた値と比較する。そし
て、これらの比較結果が不一致であれば、プロトコルエ
ラー信号PEを出力する。
The comparison circuit 5 includes a header holding register 4-
The upper 16 bits (that is, the physical layer destination address) of the header H0 and the header H1 held in the steps 1 and 4-2 are compared with a predetermined value, and the header held in the header holding register 4-3. The upper 16 bits (protocol identifier) of H3 are compared with a predetermined value. If these comparison results do not match, a protocol error signal PE is output.

【0016】プロトコルエラー信号PEが出力されるこ
とは、ゲートウェイ装置が処理対象としていないプロト
コルのフレームを受信したことを示している。そこで、
図示しない転送制御手段は、プロトコルエラー信号PE
を受信すると、メモリ17に書き込まれた受信フレーム
をデータの上書き等によって廃棄して、装置内への転送
を中止する処理を行う。
The output of the protocol error signal PE indicates that the gateway apparatus has received a frame of a protocol not to be processed. Therefore,
The transfer control means (not shown) outputs the protocol error signal PE.
Is received, the received frame written in the memory 17 is discarded by overwriting data or the like, and processing for stopping transfer to the device is performed.

【0017】また、比較回路5は、上記の比較結果が何
れも一致すれば、図2(q)に示すようにプロトコルア
クト信号PTを「1」にする。プロトコルアクト信号P
Tが出力されることは、ゲートウェイ装置が処理対象と
するプロトコルのフレームを受信したことを示してい
る。このプロトコルアクト信号PTが出力されると、I
Pプロトコル処理部6が起動し、IPプロトコル処理を
実施する。
If all the comparison results match, the comparison circuit 5 sets the protocol act signal PT to "1" as shown in FIG. 2 (q). Protocol act signal P
The output of T indicates that the gateway apparatus has received the frame of the protocol to be processed. When this protocol act signal PT is output, I
The P-protocol processing unit 6 is activated and performs the IP protocol processing.

【0018】ところで、このIPプロトコル処理部6は
後述のようにヘッダH3以降をチェックする。しかし、
プロトコルアクト信号PTは、図2(c)のヘッダH3
に対して2クロック分遅れている。そこで、シフトレジ
スタ16は、ネットワークインタフェース部1からの転
送データを図2(d)に示すように2クロック分シフト
させ、これをIPプロトコル処理部6への入力データと
する。これにより、ヘッダH3とプロトコルアクト信号
PTの位相が一致する。
The IP protocol processing unit 6 checks the header H3 and thereafter, as described later. But,
The protocol act signal PT is the header H3 of FIG.
Is delayed by two clocks. Therefore, the shift register 16 shifts the transfer data from the network interface unit 1 by two clocks as shown in FIG. 2D, and uses it as input data to the IP protocol processing unit 6. Thus, the phases of the header H3 and the protocol act signal PT match.

【0019】タイミング生成部15は、図2(k)のよ
うなアクト信号CT3を生成する。アクト信号CT3が
入力されると、ヘッダチェック部7内のヘッダ保持レジ
スタ8−1は、クロックの立ち上がりでシフトレジスタ
16からの転送データを保持する。これにより、図2
(l)に示すようにヘッダH3が保持される。チェック
部9−1は、プロトコルアクト信号PTが「1」のと
き、ヘッダ保持レジスタ8−1に保持されたヘッダH3
のうちのIPバージョンの部分をその正当な値と比較す
る。そして、チェック部9−1は、比較結果信号とし
て、これらが一致する場合は「0」を出力し、不一致の
場合は「1」を出力する。
The timing generator 15 generates an act signal CT3 as shown in FIG. When the act signal CT3 is input, the header holding register 8-1 in the header check unit 7 holds the transfer data from the shift register 16 at the rise of the clock. As a result, FIG.
As shown in (l), the header H3 is held. When the protocol act signal PT is “1”, the check unit 9-1 outputs the header H3 held in the header holding register 8-1.
Is compared with its legal value. Then, the checking unit 9-1 outputs “0” as a comparison result signal when they match, and outputs “1” when they do not match.

【0020】チェック部9−2は、プロトコルアクト信
号PTが「1」のとき、ヘッダ保持レジスタ8−1に保
持されたヘッダH3のうちのヘッダ長の部分をその正当
な値と比較する。チェック部9−2は、比較結果信号と
して、これらが一致する場合は「0」を出力し、不一致
の場合は「1」を出力する。チェック部9−3は、プロ
トコルアクト信号PTが「1」のとき、ヘッダ保持レジ
スタ8−1に保持されたヘッダH3のうちのサービスタ
イプの部分をその正当な値と比較して、比較結果信号を
同様に出力する。
When the protocol act signal PT is "1", the check unit 9-2 compares the header length portion of the header H3 held in the header holding register 8-1 with its valid value. The check unit 9-2 outputs “0” as a comparison result signal when they match, and outputs “1” when they do not match. When the protocol act signal PT is “1”, the checking unit 9-3 compares the service type portion of the header H3 held in the header holding register 8-1 with its valid value, and outputs a comparison result signal. Is similarly output.

【0021】続いて、タイミング生成部15は、アクト
信号CT3と同様に図示しないアクト信号CT4、CT
5、図2(m)、図2(n)、図2(o)に示すアクト
信号CT6、CT7、CT8をそれぞれヘッダH4〜H
8のタイミングで生成する。なお、以上のアクト信号C
T3〜CT8は、前述の理由によりプロトコル識別部3
へのアクト信号T0、T1、T3に対して2クロック分
シフトしていることは言うまでもない。
Subsequently, the timing generator 15 includes act signals CT4 and CT (not shown), like the act signal CT3.
5, the act signals CT6, CT7, and CT8 shown in FIG. 2 (m), FIG. 2 (n), and FIG.
Generated at timing 8. Note that the above act signal C
T3 to CT8 are the protocol identifying units 3 for the above-described reason.
Needless to say, it is shifted by two clocks with respect to the act signals T0, T1, and T3.

【0022】図示しないヘッダ保持レジスタ8−2〜8
−5及びヘッダ保持レジスタ8−6は、アクト信号CT
4〜CT8がそれぞれ入力されると、クロックの立ち上
がりでシフトレジスタ16からの転送データを保持す
る。これにより、ヘッダH4〜H8がヘッダ保持レジス
タ8−2〜8−6にそれぞれ保持される。そして、図示
しないチェック部9−4は、プロトコルアクト信号PT
が「1」のとき、ヘッダ保持レジスタ8−2に保持され
たヘッダH4のうちの全長の部分をその正当な値と比較
して、比較結果信号を出力する。
Header holding registers 8-2 to 8 (not shown)
-5 and the header holding register 8-6 output the act signal CT.
When 4 to CT8 are input, the transfer data from the shift register 16 is held at the rising edge of the clock. As a result, the headers H4 to H8 are held in the header holding registers 8-2 to 8-6, respectively. The check unit 9-4 (not shown) outputs the protocol act signal PT
Is "1", the entire length of the header H4 held in the header holding register 8-2 is compared with its valid value, and a comparison result signal is output.

【0023】同様に、図示しないチェック部9−5は、
プロトコルアクト信号PTが「1」のとき、ヘッダ保持
レジスタ8−2に保持されたヘッダH4のうちの識別番
号の部分をその正当な値と比較して、比較結果信号を出
力する。図示しないチェック部9−6は、プロトコルア
クト信号PTが「1」のとき、ヘッダ保持レジスタ8−
3に保持されたヘッダH5のうちのフラグメントの部分
をその正当な値と比較して、比較結果信号を出力する。
Similarly, a check unit 9-5 (not shown)
When the protocol act signal PT is "1", the identification number portion of the header H4 held in the header holding register 8-2 is compared with its valid value, and a comparison result signal is output. When the protocol act signal PT is “1”, the check unit 9-6 (not shown) outputs the header holding register 8-
Then, it compares the fragment portion of the header H5 held in No. 3 with its valid value and outputs a comparison result signal.

【0024】図示しないチェック部9−7は、プロトコ
ルアクト信号PTが「1」のとき、ヘッダ保持レジスタ
8−3に保持されたヘッダH5のうちのTTLの部分を
その正当な値と比較して、比較結果信号を出力する。図
示しないチェック部9−8は、プロトコルアクト信号P
Tが「1」のとき、ヘッダ保持レジスタ8−3に保持さ
れたヘッダH5のうちのプロトコル番号の部分をその正
当な値と比較して、比較結果信号を出力する。
When the protocol act signal PT is "1", the check unit 9-7 (not shown) compares the TTL portion of the header H5 held in the header holding register 8-3 with its valid value. , And outputs a comparison result signal. The check unit 9-8 (not shown) outputs the protocol act signal P
When T is "1", the protocol number portion of the header H5 held in the header holding register 8-3 is compared with its valid value, and a comparison result signal is output.

【0025】図示しないチェック部9−9は、プロトコ
ルアクト信号PTが「1」のとき、ヘッダ保持レジスタ
8−4に保持されたヘッダH6のうちのヘッダチェック
サムの部分をその正当な値と比較して、比較結果信号を
出力する。図示しないチェック部9−10は、プロトコ
ルアクト信号PTが「1」のとき、ヘッダ保持レジスタ
8−4に保持されたヘッダH6のうちのIP送信元アド
レス及びヘッダ保持レジスタ8−5に保持されたヘッダ
H7のうちのIP送信元アドレスの部分をその正当な値
と比較して、比較結果信号を出力する。
When the protocol act signal PT is "1", the check unit 9-9, not shown, compares the header checksum portion of the header H6 held in the header holding register 8-4 with its valid value. Then, a comparison result signal is output. When the protocol act signal PT is “1”, the check unit 9-10 (not shown) stores the IP source address of the header H6 held in the header holding register 8-4 and the header H6 held in the header holding register 8-5. It compares the IP source address portion of the header H7 with its valid value and outputs a comparison result signal.

【0026】チェック部9−11は、プロトコルアクト
信号PTが「1」のとき、ヘッダ保持レジスタ8−5に
保持されたヘッダH7のうちのIP送信先アドレス及び
ヘッダ保持レジスタ8−6に保持されたヘッダH8のう
ちのIP送信先アドレスの部分をその正当な値と比較し
て、比較結果信号を出力する。こうして、ヘッダチェッ
ク部7は、IPバージョンからIP送信先アドレスまで
のヘッダの正当性をチェックする。
When the protocol act signal PT is "1", the check section 9-11 holds the IP destination address and the header holding register 8-6 of the header H7 held in the header holding register 8-5. It compares the IP destination address portion of the header H8 with its valid value and outputs a comparison result signal. Thus, the header checking unit 7 checks the validity of the header from the IP version to the IP destination address.

【0027】次に、チェックサム計算チェック部10
は、チェックサム値を除くヘッダH0〜H8のチェック
サム値を計算し、ヘッダH6中のチェックサム値と比較
する。図4にこのチェックサム計算チェック部10のブ
ロック図を示す。タイミング生成部15から図2(m)
のアクト信号CT6と同様のアクト信号が入力される
と、チェックサム計算チェック部10内のヘッダ保持レ
ジスタ31は、クロックの立ち上がりでシフトレジスタ
16からの転送データDinを保持する。これにより、
ヘッダH6が保持される。
Next, the checksum calculation check section 10
Calculates the checksum value of the headers H0 to H8 excluding the checksum value, and compares the calculated value with the checksum value in the header H6. FIG. 4 shows a block diagram of the checksum calculation check unit 10. FIG. 2 (m) from the timing generator 15
Is received, the header holding register 31 in the checksum calculation check unit 10 holds the transfer data Din from the shift register 16 at the rise of the clock. This allows
The header H6 is held.

【0028】チェックサム計算部32は、タイミング生
成部15から図2(r)のようなチェックサムアクト信
号CATを受信すると、ヘッダH6中のチェックサム値
を除くヘッダH0〜H8のチェックサムを計算する。比
較回路33は、プロトコルアクト信号PTが「1」のと
き、ヘッダ保持レジスタ31に保持されたヘッダH6中
のチェックサム値をチェックサム計算部32で計算され
たチェックサム値と比較する。そして、比較回路33
は、比較結果信号として、これらが一致する場合は
「0」を出力し、不一致の場合は「1」を出力する。
Upon receiving the checksum act signal CAT as shown in FIG. 2 (r) from the timing generator 15, the checksum calculator 32 calculates the checksums of the headers H0 to H8 excluding the checksum value in the header H6. I do. When the protocol act signal PT is “1”, the comparison circuit 33 compares the checksum value in the header H6 held in the header holding register 31 with the checksum value calculated by the checksum calculation unit 32. Then, the comparison circuit 33
Outputs "0" as a comparison result signal when they match, and outputs "1" when they do not match.

【0029】一方、ルーティングテーブル検索部11
は、IP送信先アドレスと装置内ポート番号との対応テ
ーブルを検索することにより、IP送信先アドレスに対
応する転送先情報を出力する。図5にルーティングテー
ブル検索部11のブロック図を示す。ルーティングテー
ブル34には、受信フレームの転送先を示すIP送信先
アドレスと、そのフレームをゲートウェイ置内のどのポ
ートに出力するかを示すポート番号等を含む転送先情報
とが対応付けられて格納されている。
On the other hand, the routing table search unit 11
Outputs the transfer destination information corresponding to the IP transmission destination address by searching a correspondence table between the IP transmission destination address and the port number in the device. FIG. 5 is a block diagram of the routing table search unit 11. The routing table 34 stores an IP destination address indicating a transfer destination of a received frame and transfer destination information including a port number indicating to which port in the gateway the frame is to be output. ing.

【0030】タイミング生成部15から図2(n)のア
クト信号CT7と同様のアクト信号、図2(o)のアク
ト信号CT8と同様のアクト信号が入力されると、ヘッ
ダ保持レジスタ35は、クロックの立ち上がりでシフト
レジスタ16からの転送データDinを保持する。これ
により、ヘッダH7、H8が保持される。
When an act signal similar to the act signal CT7 in FIG. 2 (n) and an act signal similar to the act signal CT8 in FIG. 2 (o) are input from the timing generator 15, the header holding register 35 Holds the transfer data Din from the shift register 16. As a result, the headers H7 and H8 are held.

【0031】つまり、テーブル検索シーケンサ36は、
タイミング生成部15から図2(s)のようなルーティ
ングテーブル検索アクト信号RAT及びプロトコルアク
ト信号PTを受信すると、ヘッダ保持レジスタ35に保
持されたIP送信先アドレスに基づいてルーティングテ
ーブル34を検索し、IP送信先アドレスに対応する転
送先情報を読み出す。このとき、送信先アドレスがルー
ティングテーブル34に登録されていない場合は、その
値が「1」のテーブルエラー信号をOR回路12に出力
する。
That is, the table search sequencer 36
When the routing table search act signal RAT and the protocol act signal PT as shown in FIG. 2 (s) are received from the timing generation unit 15, the routing table 34 is searched based on the IP destination address held in the header holding register 35, The transfer destination information corresponding to the IP destination address is read. At this time, if the transmission destination address is not registered in the routing table 34, a table error signal whose value is “1” is output to the OR circuit 12.

【0032】次に、OR回路12は、ヘッダチェック部
7からの比較結果信号と、チェックサム計算チェック部
10からの比較結果信号と、ルーティングテーブル検索
部11からのテーブルエラー信号の論理和をとる。ヘッ
ダチェック部7の比較結果信号はヘッダが正当な値でな
いときに「1」となり、チェックサム計算チェック部1
0の比較結果信号はチェックサムの計算値がヘッダ中の
チェックサム値と等しくないときに「1」となり、ルー
ティングテーブル検索部11のテーブルエラー信号はI
P送信先アドレスがルーティングテーブルに登録されて
いないときに「1」となる。
Next, the OR circuit 12 takes the logical sum of the comparison result signal from the header check unit 7, the comparison result signal from the checksum calculation check unit 10, and the table error signal from the routing table search unit 11. . The comparison result signal of the header check unit 7 becomes “1” when the header is not a valid value, and the checksum calculation check unit 1
The comparison result signal of 0 becomes “1” when the calculated value of the checksum is not equal to the checksum value in the header, and the table error signal of the routing table search unit 11 is I
It becomes “1” when the P destination address is not registered in the routing table.

【0033】したがって、受信フレームのヘッダに何ら
かのエラーがあるときにOR回路12の出力であるヘッ
ダエラー信号HEは「1」となる。このヘッダエラー信
号HEが「1」になると、転送制御手段は、プロトコル
エラー信号PEと同様に受信フレームの廃棄処理を行
う。
Therefore, when there is any error in the header of the received frame, the header error signal HE output from the OR circuit 12 becomes "1". When the header error signal HE becomes "1", the transfer control means performs a process of discarding the received frame as in the case of the protocol error signal PE.

【0034】一方、ルーティングテーブル検索部11か
ら図2(u)のような転送先情報Dが出力された場合、
この転送先情報Dは、受信フレームのヘッダに付け足さ
れるか、あるいはこの受信フレームが格納されるアドレ
スに一意に対応するアドレスに格納されることで、メモ
リ17に格納される。最後に、タイミング生成部15
は、プロトコル処理が終了したことを示す図2(t)の
ようなプロトコル処理終了信号ENを出力する。プロト
コル処理終了信号ENを受信すると、転送制御手段はプ
ロトコル処理が終了したことを認識し、次の処理へ移行
する。
On the other hand, when the transfer destination information D as shown in FIG.
The transfer destination information D is stored in the memory 17 by being added to the header of the received frame or stored at an address uniquely corresponding to the address where the received frame is stored. Finally, the timing generation unit 15
Outputs a protocol processing end signal EN as shown in FIG. 2 (t) indicating that the protocol processing has ended. Upon receiving the protocol processing end signal EN, the transfer control means recognizes that the protocol processing has ended, and shifts to the next processing.

【0035】以上のように本実施の形態では、各構成を
ハードウェアで構成したことにより、ヘッダの比較を1
クロックで行うことができ、転送先情報を求めるルーテ
ィング処理を短時間で処理することができる。
As described above, in the present embodiment, since each component is configured by hardware, comparison of the header can be performed by one.
This can be performed by a clock, and the routing process for obtaining the transfer destination information can be processed in a short time.

【0036】実施の形態の2.図6は本発明の他の実施
の形態を示すゲートウェイ装置のプロトコル処理装置の
ブロック図、図7はこのプロトコル処理装置の動作を説
明するためのタイミングチャート図である。図6におい
て、図1と同一の構成には同一の符号を付してある。ま
た図7において、図2と同一又は同様の信号には同一の
符号((a)、(b)・・・)を付してある。なお、特
に説明しない場合は同一の信号である。
Embodiment 2 FIG. 6 is a block diagram of a protocol processing device of a gateway device according to another embodiment of the present invention, and FIG. 7 is a timing chart for explaining the operation of the protocol processing device. 6, the same components as those in FIG. 1 are denoted by the same reference numerals. In FIG. 7, the same or similar signals as those in FIG. 2 are denoted by the same reference numerals ((a), (b),...). Unless otherwise described, the signals are the same.

【0037】プロトコル処理装置2a内のタイミング生
成部15aは、図1のタイミング生成部15と同様にプ
ロトコル識別部3に対して図7(e)、(g)、(i)
のようなアクト信号T0、T1、T3を出力する。そし
て、プロトコル識別部3の動作は図1と全く同じであ
る。次に、IPプロトコル処理部6a内のヘッダチェッ
ク部7a、チェックサム計算チェック部10a、ルーテ
ィングテーブル検索部11aは、プロトコル識別部3の
終了(つまり、プロトコルアクト信号PTの出力)を待
つことなく、タイミング生成部15aからのアクト信号
だけに従って図1と同様の処理を行う。
The timing generation unit 15a in the protocol processing unit 2a transmits the signals to the protocol identification unit 3 in the same manner as in the timing generation unit 15 of FIG.
Are output as act signals T0, T1, and T3. The operation of the protocol identification unit 3 is exactly the same as in FIG. Next, the header check unit 7a, the checksum calculation check unit 10a, and the routing table search unit 11a in the IP protocol processing unit 6a do not wait for the end of the protocol identification unit 3 (that is, the output of the protocol act signal PT). The same processing as in FIG. 1 is performed according to only the act signal from the timing generation unit 15a.

【0038】よって、ヘッダチェック部7a、チェック
サム計算チェック部10a、ルーティングテーブル検索
部11aの処理は、プロトコル識別部3の動作と並行し
て行われるので、実施の形態の1のようにIPプロトコ
ル処理部への入力データをシフトレジスタで2クロック
分シフトさせる必要がなく、シフトレジスタを設ける必
要がなくなる。
Therefore, the processes of the header check unit 7a, the checksum calculation check unit 10a, and the routing table search unit 11a are performed in parallel with the operation of the protocol identification unit 3, so that the IP protocol as in the first embodiment is used. There is no need to shift the input data to the processing unit by two clocks by the shift register, and it is not necessary to provide a shift register.

【0039】これにより、タイミング生成部15aから
IPプロトコル処理部6aへ出力される図7(k)のア
クト信号CT3、図示しないアクト信号CT4、CT
5、図7(m)のアクト信号CT6、図7(n)のアク
ト信号CT7、図7(o)のアクト信号CT8、図7
(r)のチェックサムアクト信号CAT、図7(s)の
ルーティングテーブル検索アクト信号RATも2クロッ
ク分のシフトの必要がなくなる。
As a result, the act signal CT3 shown in FIG. 7 (k) and the act signals CT4 and CT (not shown) output from the timing generator 15a to the IP protocol processor 6a.
7, the act signal CT6 in FIG. 7 (m), the act signal CT7 in FIG. 7 (n), the act signal CT8 in FIG.
The checksum act signal CAT (r) and the routing table search act signal RAT in FIG. 7 (s) do not need to be shifted by two clocks.

【0040】プロトコルアクト信号PTに関係なく処理
を行う以外は、ヘッダチェック部7a、チェックサム計
算チェック部10a、ルーティングテーブル検索部11
aの動作は図1と同様である。次に、ゲート回路となる
AND回路13は、OR回路12の出力信号とプロトコ
ルアクト信号PTの論理積をとる。よって、プロトコル
アクト信号PTが「1」であれば、OR回路12の出力
結果がそのまま出力され、「0」であれば、出力されな
いことになる。これにより、図1と同様のヘッダエラー
信号HEがAND回路13から出力される。
Except for performing processing irrespective of the protocol act signal PT, the header check unit 7a, the checksum calculation check unit 10a, and the routing table search unit 11
The operation of a is the same as in FIG. Next, the AND circuit 13 serving as a gate circuit calculates the logical product of the output signal of the OR circuit 12 and the protocol act signal PT. Therefore, if the protocol act signal PT is "1", the output result of the OR circuit 12 is output as it is, and if it is "0", it is not output. As a result, the same header error signal HE as in FIG.

【0041】最後に、タイミング生成部15aは、図7
(t)のようなプロトコル処理終了信号ENを出力す
る。こうして、実施の形態の1と同様のプロトコル処理
が実現でき、プロトコル識別部3、ヘッダチェック部7
a、チェックサム計算チェック部10a、ルーティング
テーブル検索部11aの処理を並行して行うので、プロ
トコル処理を実施の形態の1より更に高速化することが
できる。
Finally, the timing generation unit 15a
A protocol processing end signal EN as shown in (t) is output. Thus, the same protocol processing as in the first embodiment can be realized, and the protocol identification unit 3 and the header check unit 7
a, the processing of the checksum calculation check unit 10a and the processing of the routing table search unit 11a are performed in parallel, so that the protocol processing can be performed at a higher speed than in the first embodiment.

【0042】実施の形態の3.図8は本発明の他の実施
の形態を示すゲートウェイ装置のプロトコル処理装置の
ブロック図であり、図1と同一の構成には同一の符号を
付してある。なお、本実施の形態では、各部のタイミン
グが実施の形態の1と同じなので、図2のタイミングチ
ャート図を用いて説明する。
Embodiment 3 FIG. 8 is a block diagram of a protocol processing device of a gateway device showing another embodiment of the present invention, and the same components as those in FIG. 1 are denoted by the same reference numerals. In this embodiment, since the timing of each unit is the same as that of the first embodiment, the description will be made with reference to the timing chart of FIG.

【0043】まず、プロトコル処理装置2b内のプロト
コル識別部3、タイミング生成部15、シフトレジスタ
16の動作は図1と全く同じである。次に、IPプロト
コル処理部6bは、プロトコルアクト信号PTを受信す
ると、起動しIPプロトコル処理を実施する。
First, the operations of the protocol identification unit 3, the timing generation unit 15, and the shift register 16 in the protocol processing device 2b are exactly the same as those in FIG. Next, upon receiving the protocol act signal PT, the IP protocol processing unit 6b starts up and performs the IP protocol processing.

【0044】タイミング生成部15は、図2(k)のよ
うなアクト信号CT3を生成する。ヘッダチェック部7
b内のチェック部9b−1は、プロトコルアクト信号P
Tが「1」で、かつアクト信号CT3が入力されたと
き、シフトレジスタ16からの転送データ(このタイミ
ングでは、ヘッダH3)中のIPバージョンに相当する
部分をその正当な値と比較する。そして、チェック部9
b−1は、比較結果信号として、これらが一致する場合
は「0」を出力し、不一致の場合は「1」を出力する。
The timing generator 15 generates an act signal CT3 as shown in FIG. Header check section 7
The check unit 9b-1 in the protocol act signal P
When T is "1" and the act signal CT3 is input, the portion corresponding to the IP version in the transfer data (the header H3 at this timing) from the shift register 16 is compared with its valid value. And the check part 9
b-1 outputs "0" as a comparison result signal when they match, and outputs "1" when they do not match.

【0045】チェック部9b−2は、プロトコルアクト
信号PTが「1」で、かつアクト信号CT3が入力され
たとき、シフトレジスタ16からの転送データ中のヘッ
ダ長の部分をその正当な値と比較して、比較結果信号を
同様に出力する。チェック部9b−3は、プロトコルア
クト信号PTが「1」で、かつアクト信号CT3が入力
されたとき、シフトレジスタ16からの転送データ中の
サービスタイプの部分をその正当な値と比較して、比較
結果信号を出力する。
When the protocol act signal PT is "1" and the act signal CT3 is input, the check section 9b-2 compares the header length portion in the transfer data from the shift register 16 with its legitimate value. Then, a comparison result signal is similarly output. When the protocol act signal PT is “1” and the act signal CT3 is input, the check unit 9b-3 compares the service type portion in the transfer data from the shift register 16 with its valid value, The comparison result signal is output.

【0046】続いて、タイミング生成部15は、図示し
ないアクト信号CT4、CT5、図2(m)、図2
(n)、図2(o)に示すアクト信号CT6、CT7、
CT8をそれぞれヘッダH4〜H8のタイミングで生成
する。図示しないチェック部9b−4は、プロトコルア
クト信号PTが「1」で、かつアクト信号CT4が入力
されたとき、シフトレジスタ16からの転送データ(こ
のタイミングでは、ヘッダH4)中の全長の部分をその
正当な値と比較して、比較結果信号を出力する。
Subsequently, the timing generation unit 15 generates act signals CT4 and CT5 (not shown), as shown in FIG.
(N), the act signals CT6 and CT7 shown in FIG.
CT8 is generated at the timing of headers H4 to H8, respectively. When the protocol act signal PT is “1” and the act signal CT4 is input, the check unit 9b-4 (not shown) determines the entire length of the transfer data from the shift register 16 (the header H4 at this timing). A comparison result signal is output in comparison with the valid value.

【0047】図示しないチェック部9b−5は、プロト
コルアクト信号PTが「1」で、かつアクト信号CT4
が入力されたとき、シフトレジスタ16からの転送デー
タ中の識別番号の部分をその正当な値と比較して、比較
結果信号を出力する。図示しないチェック部9b−6
は、プロトコルアクト信号PTが「1」で、かつアクト
信号CT5が入力されたとき、シフトレジスタ16から
の転送データ(このタイミングでは、ヘッダH5)中の
フラグメントの部分をその正当な値と比較して、比較結
果信号を出力する。
The check unit 9b-5 (not shown) determines that the protocol act signal PT is "1" and the act signal CT4
Is input, the identification number portion in the transfer data from the shift register 16 is compared with its valid value, and a comparison result signal is output. Check part 9b-6 not shown
When the protocol act signal PT is "1" and the act signal CT5 is input, the fragment portion in the transfer data (the header H5 at this timing) from the shift register 16 is compared with its valid value. And outputs a comparison result signal.

【0048】図示しないチェック部9b−7は、プロト
コルアクト信号PTが「1」で、かつアクト信号CT5
が入力されたとき、シフトレジスタ16からの転送デー
タ中のTTLの部分をその正当な値と比較して、比較結
果信号を出力する。図示しないチェック部9b−8は、
プロトコルアクト信号PTが「1」で、かつアクト信号
CT5が入力されたとき、シフトレジスタ16からの転
送データ中のプロトコル番号の部分をその正当な値と比
較して、比較結果信号を出力する。
The check unit 9b-7 (not shown) determines that the protocol act signal PT is "1" and the act signal CT5
Is input, the TTL portion in the transfer data from the shift register 16 is compared with its valid value, and a comparison result signal is output. The check unit 9b-8 (not shown)
When the protocol act signal PT is “1” and the act signal CT5 is inputted, the protocol number portion in the transfer data from the shift register 16 is compared with its valid value, and a comparison result signal is output.

【0049】図示しないチェック部9b−9は、プロト
コルアクト信号PTが「1」で、かつアクト信号CT6
が入力されたとき、転送データ中のヘッダチェックサム
の部分をその正当な値と比較して、比較結果信号を出力
する。図示しないチェック部9b−10は、プロトコル
アクト信号PTが「1」で、アクト信号CT6が入力さ
れたとき、シフトレジスタ16からの転送データ中のI
P送信元アドレスの部分をその正当な値と比較すると共
に、アクト信号CT7が入力されたとき、同じく転送デ
ータ中のIP送信元アドレスの部分をその正当な値と比
較して、比較結果信号を出力する。
The check unit 9b-9 (not shown) determines that the protocol act signal PT is "1" and the act signal CT6
Is input, the header checksum in the transfer data is compared with its valid value, and a comparison result signal is output. When the protocol act signal PT is “1” and the act signal CT 6 is input, the check unit 9 b-10 (not shown) outputs the I in the transfer data from the shift register 16.
The P source address portion is compared with its valid value, and when the act signal CT7 is input, the IP source address portion in the transfer data is also compared with its valid value, and the comparison result signal is output. Output.

【0050】チェック部9b−10は、プロトコルアク
ト信号PTが「1」で、アクト信号CT7が入力された
とき、シフトレジスタ16からの転送データ中のIP送
信先アドレスの部分をその正当な値と比較すると共に、
アクト信号CT8が入力されたとき、同じく転送データ
中のIP送信先アドレスの部分をその正当な値と比較し
て、比較結果信号を出力する。
When the protocol act signal PT is "1" and the act signal CT7 is input, the check unit 9b-10 sets the IP destination address portion in the transfer data from the shift register 16 to its valid value. Compare with
When the act signal CT8 is input, the portion of the IP destination address in the transfer data is similarly compared with its valid value, and a comparison result signal is output.

【0051】チェックサム計算チェック部10、ルーテ
ィングテーブル検索部11の動作は図1と全く同じであ
る。次に、フリップフロップ14は、ヘッダチェック部
7bからの比較結果信号、チェックサム計算チェック部
10からの比較結果信号、ルーティングテーブル検索部
11からのテーブルエラー信号をタイミング生成部15
から出力された図2(t)のプロトコル処理終了信号E
Nのタイミングでそれぞれ保持する。
The operations of the checksum calculation check unit 10 and the routing table search unit 11 are exactly the same as those in FIG. Next, the flip-flop 14 outputs the comparison result signal from the header check unit 7b, the comparison result signal from the checksum calculation check unit 10, and the table error signal from the routing table search unit 11 to the timing generation unit 15.
The protocol processing end signal E shown in FIG.
Each of them is held at the timing of N.

【0052】そして、OR回路12aは、これらの信号
の論理和をとる。これにより、図1と同様のヘッダエラ
ー信号HEがOR回路12aから出力される。こうし
て、実施の形態の1と同様のプロトコル処理が実現で
き、ヘッダチェック部7b内にヘッダ保持レジスタを設
ける必要がなくなるので、ハードウェア量を削減するこ
とができる。
The OR circuit 12a calculates the logical sum of these signals. Thus, the same header error signal HE as in FIG. 1 is output from the OR circuit 12a. In this way, the same protocol processing as in the first embodiment can be realized, and it is not necessary to provide a header holding register in the header check unit 7b, so that the amount of hardware can be reduced.

【0053】実施の形態の4.図9は本発明の他の実施
の形態を示すゲートウェイ装置のプロトコル処理装置の
ブロック図、図10はこのプロトコル処理装置の動作を
説明するためのタイミングチャート図である。図9にお
いて、図1、図6、図8と同一の構成には同一の符号を
付してある。また図10において、図7と同一の信号に
は同一の符号((a)、(b)・・・)を付してある。
Embodiment 4 FIG. 9 is a block diagram of a protocol processing device of a gateway device showing another embodiment of the present invention, and FIG. 10 is a timing chart for explaining the operation of the protocol processing device. 9, the same components as those in FIGS. 1, 6, and 8 are denoted by the same reference numerals. In FIG. 10, the same signals as those in FIG. 7 are denoted by the same reference numerals ((a), (b),...).

【0054】プロトコル処理装置2c内のタイミング生
成部15bは、後述する図10(w)のアクト信号を生
成する以外は図6のタイミング生成部15aと同様であ
る。プロトコル識別部3a内の比較回路5aは、図10
(c)に示すインタフェース部1からの転送データを予
め決められた値と常時比較する。この値には、ヘッダH
0の物理層送信先アドレス用に予め決められた値と、ヘ
ッダH1の同じくアドレス用の値と、ヘッダH3のプロ
トコル識別子用に予め決められた値がある。
The timing generator 15b in the protocol processor 2c is the same as the timing generator 15a in FIG. 6 except that an act signal shown in FIG. The comparison circuit 5a in the protocol identification unit 3a is configured as shown in FIG.
The transfer data from the interface unit 1 shown in (c) is constantly compared with a predetermined value. This value contains the header H
There is a predetermined value for the physical layer destination address of 0, a value for the same address in the header H1, and a predetermined value for the protocol identifier in the header H3.

【0055】そして、比較回路5aは、これら3種の比
較結果がそれぞれ一致すると、比較結果信号として
「0」を出力し、不一致の場合は「1」を出力する。続
いて、フリップフロップ19は、比較回路5aから出力
される3つの比較結果信号を図10(e)のアクト信号
T0、図10(g)のアクト信号T1、図10(i)の
アクト信号T3のタイミングでそれぞれ保持する。
The comparison circuit 5a outputs "0" as a comparison result signal when these three types of comparison results match, and outputs "1" when they do not match. Subsequently, the flip-flop 19 outputs the three comparison result signals output from the comparison circuit 5a to the act signal T0 in FIG. 10E, the act signal T1 in FIG. 10G, and the act signal T3 in FIG. At the timing of.

【0056】OR回路20は、フリップフロップ19の
出力信号の論理和をとる。そして、フリップフロップ2
1は、タイミング生成部15bから出力される図10
(w)のアクト信号のタイミングでOR回路20の出力
信号を保持する。ここで、ゲートウェイ装置が処理対象
とするプロトコルのフレームを受信すると、OR回路2
0の出力は「0」となり、処理対象としていないプロト
コルのフレームを受信すると、OR回路20の出力は
「1」となる。
The OR circuit 20 takes the logical sum of the output signals of the flip-flop 19. And flip-flop 2
1 is output from the timing generator 15b in FIG.
The output signal of the OR circuit 20 is held at the timing of the act signal (w). Here, when the gateway device receives the frame of the protocol to be processed, the OR circuit 2
The output of “0” becomes “0”, and when a frame of a protocol not to be processed is received, the output of the OR circuit 20 becomes “1”.

【0057】したがって、フリップフロップ21の正出
力からは実施の形態の1〜3と同様のプロトコルエラー
信号PEが出力されることになり、その反転出力からは
プロトコルアクト信号PTが出力されることになる。次
に、IPプロトコル処理部6cのヘッダチェック部7c
(チェック部9c−1〜9c−11)の動作は、プロト
コルアクト信号PTに関係なく処理を行う以外は図8の
ヘッダチェック部7bと同じである。
Therefore, the same protocol error signal PE as in the first to third embodiments is output from the positive output of the flip-flop 21, and the protocol act signal PT is output from its inverted output. Become. Next, the header check unit 7c of the IP protocol processing unit 6c
The operation of the (checking units 9c-1 to 9c-11) is the same as that of the header checking unit 7b in FIG. 8 except that processing is performed irrespective of the protocol act signal PT.

【0058】また、チェックサム計算チェック部10
a、ルーティングテーブル検索部11aの動作は図6と
同じであり、フリップフロップ14、OR回路12aの
動作は図8と同じであり、AND回路13の動作は図6
と同じである。こうして、実施の形態の2と同様にプロ
トコル識別部3a、ヘッダチェック部7c、チェックサ
ム計算チェック部10a、ルーティングテーブル検索部
11aの処理を並行して行うことができる。さらに、プ
ロトコル識別部3a内にヘッダ保持レジスタを設ける必
要がなくなるので、ハードウェア量を削減することがで
きる(フリップフロップ19、21は1ビットの保持用
なので、32ビットを保持するヘッダ保持レジスタに比
べると、ハードウェア量は少なくて済む)。
The checksum calculation check section 10
a, the operation of the routing table search unit 11a is the same as in FIG. 6, the operations of the flip-flop 14 and the OR circuit 12a are the same as in FIG. 8, and the operation of the AND circuit 13 is
Is the same as Thus, the processes of the protocol identification unit 3a, the header check unit 7c, the checksum calculation check unit 10a, and the routing table search unit 11a can be performed in parallel, as in the second embodiment. Furthermore, since it is not necessary to provide a header holding register in the protocol identifying unit 3a, the amount of hardware can be reduced. (Since the flip-flops 19 and 21 are for holding 1 bit, the header holding register for holding 32 bits is required.) In comparison, the amount of hardware is small).

【0059】なお、以上の実施の形態では、ゲートウェ
イ装置がIPプロトコルのフレームのみを処理対象とし
ている場合について説明したが、実際のゲートウェイ装
置では複数のプロトコルを処理対象としている。そこ
で、このような場合には、複数のプロトコル処理部を設
け、各プロトコルに応じた識別をプロトコル識別部で行
って、各プロトコル用のプロトコルアクト信号を対応す
るプロトコル処理部へ出力することにより、複数のプロ
トコルに応じた処理を行うことができる。
In the above embodiment, a case has been described where the gateway device processes only frames of the IP protocol. However, an actual gateway device processes a plurality of protocols. Therefore, in such a case, by providing a plurality of protocol processing units, performing identification according to each protocol in the protocol identification unit, and outputting a protocol act signal for each protocol to the corresponding protocol processing unit, Processing according to a plurality of protocols can be performed.

【0060】[0060]

【発明の効果】本発明によれば、請求項1に記載のよう
に、プロトコル識別部とプロトコル処理部を設けること
により、ゲートウェイ装置のプロトコル処理を並列化す
ることができ、かつハードウェアで処理することができ
るので、プロトコル処理の処理時間を大幅に短縮するこ
とができる。その結果、ゲートウェイ装置の処理の高速
化に大いに寄与することができる。
According to the present invention, by providing a protocol identification unit and a protocol processing unit as described in claim 1, the protocol processing of the gateway device can be parallelized, and the processing can be performed by hardware. Therefore, the processing time of the protocol processing can be significantly reduced. As a result, it is possible to greatly contribute to speeding up the processing of the gateway device.

【0061】また、請求項2に記載のように、プロトコ
ル処理部がプロトコル識別部からのプロトコルアクト信
号を待つことなく処理を開始することにより、プロトコ
ル識別部とプロトコル処理部を並行して動作させること
ができるので、処理時間をさらに短縮することができ
る。
In addition, the protocol processing unit starts processing without waiting for a protocol act signal from the protocol identification unit, so that the protocol identification unit and the protocol processing unit operate in parallel. Therefore, the processing time can be further reduced.

【0062】また、請求項3に記載のように、プロトコ
ル識別部をヘッダ保持レジスタと比較回路とから構成す
ることにより、プロトコル識別部を容易に実現すること
ができる。また、請求項4に記載のように、プロトコル
識別部を比較回路とフリップフロップ回路とから構成す
ることにより、ヘッダ保持レジスタを設ける必要がなく
なり、ハードウェア量を低減することができる。
Further, by configuring the protocol identification unit from the header holding register and the comparison circuit, the protocol identification unit can be easily realized. In addition, since the protocol identification unit includes the comparison circuit and the flip-flop circuit, it is not necessary to provide a header holding register, and the amount of hardware can be reduced.

【0063】また、請求項5に記載のように、プロトコ
ル処理部をヘッダチェック部、チェックサム計算チェッ
ク部及びルーティングテーブル検索部から構成すること
により、プロトコル処理部を容易に実現することができ
る。また、請求項6に記載のように、プロトコル処理部
をヘッダチェック部、チェックサム計算チェック部、ル
ーティングテーブル検索部及びフリップフロップ回路か
ら構成することにより、ヘッダチェック部内にヘッダ保
持レジスタを設ける必要がなくなり、ハードウェア量を
低減することができる。
Further, by configuring the protocol processing unit from a header check unit, a checksum calculation check unit, and a routing table search unit, the protocol processing unit can be easily realized. Further, as described in claim 6, the protocol processing unit is composed of a header check unit, a checksum calculation check unit, a routing table search unit, and a flip-flop circuit, so that it is necessary to provide a header holding register in the header check unit. And the amount of hardware can be reduced.

【0064】また、請求項7に記載のように、プロトコ
ル処理部をヘッダチェック部、チェックサム計算チェッ
ク部、ルーティングテーブル検索部及びゲート回路から
構成することにより、プロトコル識別部と並行して動作
するプロトコル処理部を容易に実現することができる。
また、請求項8に記載のように、プロトコル処理部をヘ
ッダチェック部、チェックサム計算チェック部、ルーテ
ィングテーブル検索部、フリップフロップ回路及びゲー
ト回路から構成することにより、プロトコル識別部と並
行して動作するプロトコル処理部を容易に実現すること
ができる。また、ヘッダチェック部内にヘッダ保持レジ
スタを設ける必要がなくなるので、ハードウェア量を低
減することができる。
Further, as described in claim 7, the protocol processing unit comprises a header check unit, a checksum calculation check unit, a routing table search unit, and a gate circuit, and operates in parallel with the protocol identification unit. The protocol processing unit can be easily realized.
In addition, the protocol processing unit includes a header check unit, a checksum calculation check unit, a routing table search unit, a flip-flop circuit, and a gate circuit, and operates in parallel with the protocol identification unit. It is possible to easily realize a protocol processing unit that performs the processing. Also, since it is not necessary to provide a header holding register in the header check unit, the amount of hardware can be reduced.

【図面の簡単な説明】[Brief description of the drawings]

【図1】 本発明の第1の実施の形態を示すゲートウェ
イ装置におけるプロトコル処理装置のブロック図であ
る。
FIG. 1 is a block diagram of a protocol processing device in a gateway device according to a first embodiment of the present invention.

【図2】 図1のプロトコル処理装置の動作を説明する
ためのタイミングチャート図である。
FIG. 2 is a timing chart for explaining the operation of the protocol processing device of FIG. 1;

【図3】 IPフレームフォーマットを示す図である。FIG. 3 is a diagram showing an IP frame format.

【図4】 チェックサム計算チェック部のブロック図で
ある。
FIG. 4 is a block diagram of a checksum calculation check unit.

【図5】 ルーティングテーブル検索部のブロック図を
示す。
FIG. 5 shows a block diagram of a routing table search unit.

【図6】 本発明の他の実施の形態を示すゲートウェイ
装置のプロトコル処理装置のブロック図である。
FIG. 6 is a block diagram of a protocol processing device of a gateway device according to another embodiment of the present invention.

【図7】 図6のプロトコル処理装置の動作を説明する
ためのタイミングチャート図である。
FIG. 7 is a timing chart for explaining the operation of the protocol processing device of FIG. 6;

【図8】 本発明の他の実施の形態を示すゲートウェイ
装置のプロトコル処理装置のブロック図である。
FIG. 8 is a block diagram of a protocol processing device of a gateway device showing another embodiment of the present invention.

【図9】 本発明の他の実施の形態を示すゲートウェイ
装置のプロトコル処理装置のブロック図である。
FIG. 9 is a block diagram of a protocol processing device of a gateway device according to another embodiment of the present invention.

【図10】 図9のプロトコル処理装置の動作を説明す
るためのタイミングチャート図である。
FIG. 10 is a timing chart for explaining the operation of the protocol processing device of FIG. 9;

【符号の説明】[Explanation of symbols]

2、2a〜2c…プロトコル処理装置、3、3a…プロ
トコル識別部、4−1〜4−3、8−1、8−6…ヘッ
ダ保持レジスタ、5、5a…比較回路、6、6a〜6c
…IPプロトコル処理部、7、7a〜7c…ヘッダチェ
ック部、9−1〜9−3、9−11、9a−1〜9a−
3、9a−11、9b−1〜9b−3、9b−11、9
c−1〜9c−3、9c−11…チェック部、10…チ
ェックサム計算チェック部、11…ルーティングテーブ
ル検索部、13…AND回路、14…フリップフロッ
プ、21…フリップフロップ。
2, 2a to 2c: protocol processing device, 3, 3a: protocol identification unit, 4-1 to 4-3, 8-1, 8-6: header holding register, 5, 5a: comparison circuit, 6, 6a to 6c
... IP protocol processing unit, 7, 7a-7c ... Header check unit, 9-1-9-3, 9-11, 9a-1-9a-
3, 9a-11, 9b-1 to 9b-3, 9b-11, 9
c-1 to 9c-3, 9c-11: check unit, 10: checksum calculation check unit, 11: routing table search unit, 13: AND circuit, 14: flip-flop, 21: flip-flop.

Claims (8)

【特許請求の範囲】[Claims] 【請求項1】 ネットワークから受信したフレームが処
理対象のプロトコルのフレームかどうかを識別し、処理
対象のプロトコルのフレームであるときはプロトコルア
クト信号を出力するプロトコル識別部と、 プロトコルアクト信号が入力されたときに、前記受信フ
レームの正当性をチェックすると共に受信フレームの転
送先を決定するプロトコル処理部とを有することを特徴
とするゲートウェイ装置のプロトコル処理方式。
1. A protocol identifying unit for identifying whether a frame received from a network is a frame of a protocol to be processed, and outputting a protocol act signal when the frame is of a protocol to be processed, and a protocol act signal being inputted. A protocol processing unit for checking the validity of the received frame and determining a destination of the received frame when the received frame is received.
【請求項2】 ネットワークから受信したフレームが処
理対象のプロトコルのフレームかどうかを識別し、処理
対象のプロトコルのフレームであるときはプロトコルア
クト信号を出力するプロトコル識別部と、 前記受信フレームの正当性をチェックすると共に受信フ
レームの転送先を決定し、前記正当性のチェック結果を
プロトコルアクト信号が入力されたときに出力するプロ
トコル処理部とを有することを特徴とするゲートウェイ
装置のプロトコル処理方式。
2. A protocol identifying unit for identifying whether a frame received from a network is a frame of a protocol to be processed, and outputting a protocol act signal when the frame is of a protocol to be processed, and validity of the received frame. And a protocol processing unit for determining the transfer destination of the received frame and outputting the result of the validity check when a protocol act signal is input.
【請求項3】 請求項1又は2記載のゲートウェイ装置
のプロトコル処理方式において、 前記プロトコル識別部は、受信フレームのヘッダを保持
するためのヘッダ保持レジスタと、プロトコルを識別す
るための所定値と前記レジスタで保持されたヘッダを比
較して、一致したときにプロトコルアクト信号を出力す
る比較回路とからなるものであることを特徴とするゲー
トウェイ装置のプロトコル処理方式。
3. The protocol processing method for a gateway device according to claim 1, wherein said protocol identification unit includes a header holding register for holding a header of a received frame, a predetermined value for identifying a protocol, and A protocol processing method for a gateway device, comprising: a comparison circuit that compares headers held in registers and outputs a protocol act signal when they match.
【請求項4】 請求項1又は2記載のゲートウェイ装置
のプロトコル処理方式において、 前記プロトコル識別部は、受信フレームとプロトコルを
識別するための所定値を常時比較する比較回路と、この
比較回路による比較一致結果を保持して、プロトコルア
クト信号として出力するフリップフロップ回路とからな
るものであることを特徴とするゲートウェイ装置のプロ
トコル処理方式。
4. The protocol processing method for a gateway device according to claim 1, wherein the protocol identification unit constantly compares a received frame with a predetermined value for identifying a protocol, and a comparison circuit using the comparison circuit. A protocol processing method for a gateway device, comprising: a flip-flop circuit for holding a match result and outputting the result as a protocol act signal.
【請求項5】 請求項1記載のゲートウェイ装置のプロ
トコル処理方式において、 前記プロトコル処理部は、受信フレームのヘッダを保持
するためのヘッダ保持レジスタ、及びプロトコルアクト
信号が入力されたときに、ヘッダの正当性をチェックす
るための正当値と前記レジスタで保持されたヘッダを比
較して、比較結果信号を出力するチェック部からなるヘ
ッダチェック部と、 受信フレームのヘッダのチェックサムを計算し、プロト
コルアクト信号が入力されたときに、受信フレーム中の
チェックサム値と前記計算値を比較して、比較結果信号
を出力するチェックサム計算チェック部と、 プロトコルアクト信号が入力されたときに、受信フレー
ムの送信先アドレスに対応する転送先情報を求めると共
に、前記送信先アドレスが登録されていない場合はテー
ブルエラー信号を出力するルーティングテーブル検索部
とからなるものであることを特徴とするゲートウェイ装
置のプロトコル処理方式。
5. The protocol processing method for a gateway device according to claim 1, wherein said protocol processing unit includes a header holding register for holding a header of a received frame, and a header holding register for receiving a protocol act signal. A header check unit including a check unit that outputs a comparison result signal by comparing a valid value for checking validity with the header held in the register and a checksum of a header of the received frame are calculated, and the protocol act is performed. A checksum calculation check unit that compares a checksum value in a received frame with the calculated value when a signal is input, and outputs a comparison result signal; The transfer destination information corresponding to the destination address is obtained, and the destination address is registered. And a routing table search unit for outputting a table error signal if not present.
【請求項6】 請求項1記載のゲートウェイ装置のプロ
トコル処理方式において、 前記プロトコル処理部は、プロトコルアクト信号が入力
されると、受信フレームのヘッダの正当性をチェックす
るための正当値と受信フレームをヘッダのタイミングで
比較して、比較結果信号を出力するヘッダチェック部
と、 受信フレームのヘッダのチェックサムを計算し、プロト
コルアクト信号が入力されたときに、受信フレーム中の
チェックサム値と前記計算値を比較して、比較結果信号
を出力するチェックサム計算チェック部と、 プロトコルアクト信号が入力されたときに、受信フレー
ムの送信先アドレスに対応する転送先情報を求めると共
に、前記送信先アドレスが登録されていない場合はテー
ブルエラー信号を出力するルーティングテーブル検索部
と、 ヘッダチェック部及びチェックサム計算チェック部から
の比較結果信号、並びにルーティングテーブル検索部か
らのテーブルエラー信号を保持するフリップフロップ回
路とからなるものであることを特徴とするゲートウェイ
装置のプロトコル処理方式。
6. The protocol processing method for a gateway device according to claim 1, wherein, when a protocol act signal is input, the protocol processing unit receives a valid value for checking validity of a header of the received frame and a received frame. And a header check unit that outputs a comparison result signal, calculates a checksum of the header of the received frame, and when a protocol act signal is input, checksum values in the received frame and the A checksum calculation check unit that compares the calculated values and outputs a comparison result signal; and, when a protocol act signal is input, obtains transfer destination information corresponding to a destination address of a received frame, and obtains the destination address. Routing table search unit that outputs a table error signal if is not registered And a flip-flop circuit for holding a comparison result signal from a header check unit and a checksum calculation check unit, and a table error signal from a routing table search unit. .
【請求項7】 請求項2記載のゲートウェイ装置のプロ
トコル処理方式において、 前記プロトコル処理部は、受信フレームのヘッダを保持
するためのヘッダ保持レジスタ、及びヘッダの正当性を
チェックするための正当値と前記レジスタで保持された
ヘッダを比較して、比較結果信号を出力するチェック部
からなるヘッダチェック部と、 受信フレームのヘッダのチェックサムを計算し、受信フ
レーム中のチェックサム値と前記計算値を比較して、比
較結果信号を出力するチェックサム計算チェック部と、 受信フレームの送信先アドレスに対応する転送先情報を
求めると共に、前記送信先アドレスが登録されていない
場合はテーブルエラー信号を出力するルーティングテー
ブル検索部と、 ヘッダチェック部及びチェックサム計算チェック部から
の比較結果信号、並びにルーティングテーブル検索部か
らのテーブルエラー信号をプロトコルアクト信号が入力
されたときに出力するゲート回路とからなるものである
ことを特徴とするゲートウェイ装置のプロトコル処理方
式。
7. The protocol processing method for a gateway device according to claim 2, wherein the protocol processing unit includes a header holding register for holding a header of the received frame, and a valid value for checking the validity of the header. The header held by the register is compared, a header check unit including a check unit that outputs a comparison result signal, and a checksum of the header of the received frame are calculated. A checksum calculation check unit for comparing and outputting a comparison result signal, and obtaining transfer destination information corresponding to a destination address of a received frame, and outputting a table error signal when the destination address is not registered. Routing table search section, header check section and checksum calculation check section Comparison result signal, and the protocol processing method of the gateway device, characterized in that is made of a gate circuit for outputting when the table error signal from the routing table search unit protocol act signal is input.
【請求項8】 請求項2記載のゲートウェイ装置のプロ
トコル処理方式において、 前記プロトコル処理部は、受信フレームのヘッダの正当
性をチェックするための正当値と受信フレームをヘッダ
のタイミングで比較して、比較結果信号を出力するヘッ
ダチェック部と、 受信フレームのヘッダのチェックサムを計算し、受信フ
レーム中のチェックサム値と前記計算値を比較して、比
較結果信号を出力するチェックサム計算チェック部と、 受信フレームの送信先アドレスに対応する転送先情報を
求めると共に、前記送信先アドレスが登録されていない
場合はテーブルエラー信号を出力するルーティングテー
ブル検索部と、 ヘッダチェック部及びチェックサム計算チェック部から
の比較結果信号、並びにルーティングテーブル検索部か
らのテーブルエラー信号を保持するフリップフロップ回
路と、 このフリップフロップ回路からの比較結果信号及びテー
ブルエラー信号をプロトコルアクト信号が入力されたと
きに出力するゲート回路とからなるものであることを特
徴とするゲートウェイ装置のプロトコル処理方式。
8. The protocol processing method of the gateway device according to claim 2, wherein the protocol processing unit compares the received frame with a valid value for checking the validity of the header of the received frame at the timing of the header, A header check unit that outputs a comparison result signal; a checksum calculation check unit that calculates a checksum of the header of the received frame, compares the checksum value in the received frame with the calculated value, and outputs a comparison result signal. A routing table search unit that obtains transfer destination information corresponding to a destination address of a received frame and outputs a table error signal when the destination address is not registered; and a header check unit and a checksum calculation check unit. Comparison result signal and table from routing table search unit A gateway device comprising: a flip-flop circuit that holds an error signal; and a gate circuit that outputs a comparison result signal and a table error signal from the flip-flop circuit when a protocol act signal is input. Protocol processing method.
JP8201808A 1996-07-31 1996-07-31 Protocol processing system for gateway equipment Pending JPH1051480A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8201808A JPH1051480A (en) 1996-07-31 1996-07-31 Protocol processing system for gateway equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8201808A JPH1051480A (en) 1996-07-31 1996-07-31 Protocol processing system for gateway equipment

Publications (1)

Publication Number Publication Date
JPH1051480A true JPH1051480A (en) 1998-02-20

Family

ID=16447268

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8201808A Pending JPH1051480A (en) 1996-07-31 1996-07-31 Protocol processing system for gateway equipment

Country Status (1)

Country Link
JP (1) JPH1051480A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001313640A (en) * 2000-05-02 2001-11-09 Ntt Data Corp Method and system for deciding access type in communication network and recording medium
US6980559B2 (en) 2000-04-12 2005-12-27 Nec Corporation Network connection technique in VoIP network system
JP2010109746A (en) * 2008-10-30 2010-05-13 Toshiba Corp Data receiving apparatus, data receiving method, and data receiving program

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6980559B2 (en) 2000-04-12 2005-12-27 Nec Corporation Network connection technique in VoIP network system
JP2001313640A (en) * 2000-05-02 2001-11-09 Ntt Data Corp Method and system for deciding access type in communication network and recording medium
JP2010109746A (en) * 2008-10-30 2010-05-13 Toshiba Corp Data receiving apparatus, data receiving method, and data receiving program

Similar Documents

Publication Publication Date Title
US6654823B2 (en) Packet-data processing apparatus
US5936966A (en) Data receiving device which enables simultaneous execution of processes of a plurality of protocol hierarchies and generates header end signals
US6553031B1 (en) Communication node apparatus with routing tables in cache memories
JP4890613B2 (en) Packet switch device
US7584286B2 (en) Flexible and extensible receive side scaling
JP2001251351A (en) Input packet processing system for packet switch
US9860168B1 (en) Network packet header modification for hardware-based packet processing
JP2002541732A5 (en)
JPH09307581A (en) Bridge
JP2004287811A (en) Data processing circuit
US20120163392A1 (en) Packet processing apparatus and method
CN115883681B (en) Message parsing method and device, electronic equipment and storage medium
US20060188046A1 (en) Prediction of an optimal sampling point for clock resynchronization in a source synchronous data channel
US7505460B2 (en) Address validating data structure used for validating addresses
JPH1051480A (en) Protocol processing system for gateway equipment
JP2005142976A (en) Communication tester
US9948756B1 (en) Automated pipeline generation
US20080126609A1 (en) Method for improved efficiency and data alignment in data communications protocol
US20090285207A1 (en) System and method for routing packets using tags
US10237378B1 (en) Low-latency metadata-based packet rewriter
US20060187729A1 (en) Source synchronous communication channel interface receive logic
JP2004120675A (en) Test packet generating apparatus
CN108599907B (en) Network interface controller
US11811637B1 (en) Packet timestamp format manipulation
US20030200324A1 (en) Apparatus and method for protocol processing, and apparatus and method for traffic processing